Skip to content

Commit 8596df3

Browse files
authored
Merge pull request #177561 from Clare-Zheng82/1026-Add_TSG_to_SHIR_troubleshoot_doc
Add TSG content from Azure troubleshooting doc to SHIR troubleshoot doc in ADF
2 parents 9c7dc15 + 81d03ce commit 8596df3

File tree

6 files changed

+85
-25
lines changed

6 files changed

+85
-25
lines changed
4.49 KB
Loading
2.51 KB
Loading
14 KB
Loading
Loading

articles/data-factory/self-hosted-integration-runtime-troubleshoot-guide.md

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: data-factory
77
ms.subservice: integration-runtime
88
ms.custom: synapse
99
ms.topic: troubleshooting
10-
ms.date: 09/09/2021
10+
ms.date: 10/26/2021
1111
ms.author: lle
1212
---
1313

@@ -201,7 +201,7 @@ The reason why you see the *System.ValueTuple.dll* under *%windir%\Microsoft.NET
201201
202202
In the following error, you can clearly see that the *System.ValueTuple* assembly is missing. This issue arises when the application tries to check the *System.ValueTuple.dll* assembly.
203203
204-
"\<LogProperties>\<ErrorInfo>[{"Code":0,"Message":"The type initializer for 'Npgsql.PoolManager' threw an exception.","EventType":0,"Category":5,"Data":{},"MsgId":null,"ExceptionType":"System.TypeInitializationException","Source":"Npgsql","StackTrace":"","InnerEventInfos":[{"Code":0,"Message":"Could not load file or assembly 'System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=XXXXXXXXX' or one of its dependencies. The system cannot find the file specified.","EventType":0,"Category":5,"Data":{},"MsgId":null,"ExceptionType":"System.IO.FileNotFoundException","Source":"Npgsql","StackTrace":"","InnerEventInfos":[]}]}]\</ErrorInfo>\</LogProperties>"
204+
> "\<LogProperties>\<ErrorInfo>[{"Code":0,"Message":"The type initializer for 'Npgsql.PoolManager' threw an exception.","EventType":0,"Category":5,"Data":{},"MsgId":null,"ExceptionType":"System.TypeInitializationException","Source":"Npgsql","StackTrace":"","InnerEventInfos":[{"Code":0,"Message":"Could not load file or assembly 'System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=XXXXXXXXX' or one of its dependencies. The system cannot find the file specified.","EventType":0,"Category":5,"Data":{},"MsgId":null,"ExceptionType":"System.IO.FileNotFoundException","Source":"Npgsql","StackTrace":"","InnerEventInfos":[]}]}]\</ErrorInfo>\</LogProperties>"
205205
206206
For more information about GAC, see [Global Assembly Cache](/dotnet/framework/app-domains/gac).
207207
@@ -351,6 +351,66 @@ To solve this issue, you need to add the self-hosted integration runtime service
351351
1. Select **Check Names** and then select **OK**.
352352
1. In the "Permissions" pane, select **Apply** and then select **OK**.
353353
354+
### UserErrorJreNotFound error message when you run a copy activity to Azure
355+
356+
#### Symptoms
357+
358+
When you try to copy content to Microsoft Azure by using a Java-based tool or program (for example, copying ORC or Parquet format files), you receive an error message that resembles the following:
359+
360+
> ErrorCode=UserErrorJreNotFound,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Java Runtime Environment is not found. Go to `http://go.microsoft.com/fwlink/?LinkId=808605` to download and install on your Integration Runtime (Self-hosted) node machine. Note 64-bit Integration Runtime requires 64-bit JRE and 32-bit Integration Runtime requires 32-bit JRE.,Source=Microsoft.DataTransfer.Common,''Type=System.DllNotFoundException,Message=Unable to load DLL 'jvm.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E),Source=Microsoft.DataTransfer.Richfile.HiveOrcBridge
361+
362+
#### Cause
363+
364+
This issue occurs for either of the following reasons:
365+
366+
- Java Runtime Environment (JRE) isn't installed correctly on your Integration Runtime server.
367+
368+
- Your Integration Runtime server lacks the required dependency for JRE.
369+
370+
By default, Integration Runtime resolves the JRE path by using registry entries. Those entries should be automatically set during JRE installation.
371+
372+
#### Resolution
373+
374+
Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, [back up the registry for restoration](https://support.microsoft.com/topic/how-to-back-up-and-restore-the-registry-in-windows-855140ad-e318-2a13-2829-d428a2ab0692) in case problems occur.
375+
376+
To fix this issue, follow these steps to verify the status of the JRE installation:
377+
378+
1. Make sure that Integration Runtime (Diahost.exe) and JRE are installed on the same platform. Check the following conditions:
379+
- 64-bit JRE for 64-bit ADF Integration Runtime should be installed in the folder: `C:\Program Files\Java\`
380+
381+
> [!NOTE]
382+
> The folder is not `C:\Program Files (x86)\Java\`
383+
384+
- JRE 7 and JRE 8 are both compatible for this copy activity. JRE 6 and versions that are earlier than JRE 6 have not been validated for this use.
385+
386+
2. Check the registry for the appropriate settings. To do this, follow these steps:
387+
388+
1. In the **Run** menu, type **Regedit**, and then press Enter.
389+
390+
1. In the navigation pane, locate the following subkey:<br/> `HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment`. <br/>
391+
392+
In the **Details** pane, there should be a Current Version entry that shows the JRE version (for example, 1.8).
393+
394+
:::image type="content" source="./media/self-hosted-integration-runtime-troubleshoot-guide/java-runtime-environment-image.png" alt-text="Screenshot showing the Java Runtime Environment.":::
395+
396+
1. In the navigation pane, locate a subkey that is an exact match for the version (for example 1.8) under the JRE folder. In the details pane, there should be a **JavaHome** entry. The value of this entry is the JRE installation path.
397+
398+
:::image type="content" source="./media/self-hosted-integration-runtime-troubleshoot-guide/java-home-entry-image.png" alt-text="Screenshot showing a JavaHome entry.":::
399+
400+
3. Locate the bin\server folder in the following path: <br/>
401+
402+
`C:\Program Files\Java\jre1.8.0_74`
403+
404+
:::image type="content" source="./media/self-hosted-integration-runtime-troubleshoot-guide/folder-of-jre.png" alt-text="Screenshot showing the JRE folder.":::
405+
406+
1. Check whether this folder contains a jvm.dll file. If it does not, check for the file in the `bin\client` folder.
407+
408+
:::image type="content" source="./media/self-hosted-integration-runtime-troubleshoot-guide/file-location-image.png" alt-text="Screenshot showing a jvm.dll file location.":::
409+
410+
> [!NOTE]
411+
> - If any of these configurations are not as described in these steps, use the [JRE windows installer](https://java.com/en/download/manual.jsp) to fix the problems.
412+
> - If all the configurations in these steps are correct as described, there may be a VC++ runtime library missing in the system. You can fix this problem by installing the VC++ 2010 Redistributable Package.
413+
354414
## Self-hosted IR setup
355415
356416
### Integration runtime registration error
@@ -601,7 +661,7 @@ The self-hosted IR can't connect to the service back end. This issue is usually
601661
602662
The following is the expected response:
603663
604-
:::image type="content" source="media/self-hosted-integration-runtime-troubleshoot-guide/powershell-command-response.png" alt-text="Screenshot of the expected Powershell command response.":::
664+
:::image type="content" source="media/self-hosted-integration-runtime-troubleshoot-guide/powershell-command-response.png" alt-text="Screenshot of the expected PowerShell command response.":::
605665
606666
> [!NOTE]
607667
> Proxy considerations:

articles/virtual-desktop/automatic-migration.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -141,40 +141,40 @@ To migrate your Azure virtual Desktop (classic) resources to Azure Resource Mana
141141
142142
2. Next, run the **Start-RdsHostPoolMigration** cmdlet to choose whether to migrate a single host pool or all host pools within a tenant.
143143
144-
For example:
144+
For example:
145145
146-
```powershell
147-
Start-RdsHostPoolMigration -Tenant Contoso -Location WestUS
148-
```
146+
```powershell
147+
Start-RdsHostPoolMigration -Tenant Contoso -Location WestUS
148+
```
149149

150-
If you want to migrate your resources a specific host pool, then include the host pool name. For example, if you want to move the host pool named "Office," run a command like this:
150+
If you want to migrate your resources a specific host pool, then include the host pool name. For example, if you want to move the host pool named "Office," run a command like this:
151151

152-
```powershell
153-
Start-RdsHostPoolMigration -Tenant Contoso -HostPool Office -CopyUserAssignments $false -Location EastUS
154-
```
152+
```powershell
153+
Start-RdsHostPoolMigration -Tenant Contoso -HostPool Office -CopyUserAssignments $false -Location EastUS
154+
```
155155

156-
If you don't give a workspace name, the module will automatically create one for you based on the tenant name. However, if you'd prefer to use a specific workspace, you can enter its resource ID like this:
156+
If you don't give a workspace name, the module will automatically create one for you based on the tenant name. However, if you'd prefer to use a specific workspace, you can enter its resource ID like this:
157157

158-
```powershell
159-
Start-RdsHostPoolMigration -Tenant Contoso -HostPool Office -CopyUserAssignments -Location EastUS -Workspace <Resource ID of workspacename>
160-
```
158+
```powershell
159+
Start-RdsHostPoolMigration -Tenant Contoso -HostPool Office -CopyUserAssignments -Location EastUS -Workspace <Resource ID of workspacename>
160+
```
161161

162-
If you'd like to use a specific workspace but don't know its resource ID, run this cmdlet:
162+
If you'd like to use a specific workspace but don't know its resource ID, run this cmdlet:
163163

164-
```powershell
165-
Get-AzWvdWorkspace -WorkspaceName <workspace> -ResourceGroupName <resource group> |fl
166-
```
164+
```powershell
165+
Get-AzWvdWorkspace -WorkspaceName <workspace> -ResourceGroupName <resource group> |fl
166+
```
167167

168-
You'll also need to specify a user assignment mode for the existing user assignments:
168+
You'll also need to specify a user assignment mode for the existing user assignments:
169169

170-
- Use **Copy** to copy all user assignments from your old app groups to Azure Resource Manager application groups. Users will be able to see feeds for both versions of their clients.
171-
- Use **None** if you don't want to change the user assignments. Later, you can assign users or user groups to app groups with the Azure portal, PowerShell, or API. Users will only be able to see feeds using the Azure Virtual Desktop (classic) clients.
170+
- Use **Copy** to copy all user assignments from your old app groups to Azure Resource Manager application groups. Users will be able to see feeds for both versions of their clients.
171+
- Use **None** if you don't want to change the user assignments. Later, you can assign users or user groups to app groups with the Azure portal, PowerShell, or API. Users will only be able to see feeds using the Azure Virtual Desktop (classic) clients.
172172

173-
You can only copy 2,000 user assignments per subscription, so your limit will depend on how many assignments are already in your subscription. The module calculates the limit based on how many assignments you already have. If you don't have enough assignments to copy, you'll get an error message that says "Insufficient role assignment quota to copy user assignments. Rerun command without the -CopyUserAssignments switch to migrate."
173+
You can only copy 2,000 user assignments per subscription, so your limit will depend on how many assignments are already in your subscription. The module calculates the limit based on how many assignments you already have. If you don't have enough assignments to copy, you'll get an error message that says "Insufficient role assignment quota to copy user assignments. Rerun command without the -CopyUserAssignments switch to migrate."
174174

175-
3. Once you run the commands, it will take up to 15 minutes for the module to create the service objects. If you copied or moved any user assignments, that will add to the time it takes for the module to finish setting everything up.
175+
3. After you run the commands, it will take up to 15 minutes for the module to create the service objects. If you copied or moved any user assignments, that will add to the time it takes for the module to finish setting everything up.
176176

177-
Once the **Start-RdsHostPoolMigration** cmdlet is done, you should see the following things:
177+
After the **Start-RdsHostPoolMigration** cmdlet is done, you should see the following things:
178178

179179
- Azure service objects for the tenant or host pool you specified
180180

0 commit comments

Comments
 (0)