You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-factory/self-hosted-integration-runtime-troubleshoot-guide.md
+63-3Lines changed: 63 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.service: data-factory
7
7
ms.subservice: integration-runtime
8
8
ms.custom: synapse
9
9
ms.topic: troubleshooting
10
-
ms.date: 09/09/2021
10
+
ms.date: 10/26/2021
11
11
ms.author: lle
12
12
---
13
13
@@ -201,7 +201,7 @@ The reason why you see the *System.ValueTuple.dll* under *%windir%\Microsoft.NET
201
201
202
202
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.
203
203
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>"
205
205
206
206
For more information about GAC, see [Global Assembly Cache](/dotnet/framework/app-domains/gac).
207
207
@@ -351,6 +351,66 @@ To solve this issue, you need to add the self-hosted integration runtime service
351
351
1. Select **Check Names** and then select **OK**.
352
352
1. In the "Permissions" pane, select **Apply** and then select **OK**.
353
353
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
+
354
414
## Self-hosted IR setup
355
415
356
416
### Integration runtime registration error
@@ -601,7 +661,7 @@ The self-hosted IR can't connect to the service back end. This issue is usually
601
661
602
662
The following is the expected response:
603
663
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.":::
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:
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:
157
157
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
+
```
161
161
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:
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:
169
169
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.
172
172
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."
174
174
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.
176
176
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:
178
178
179
179
- Azure service objects for the tenant or host pool you specified
0 commit comments