Skip to content

Commit d554f49

Browse files
authored
Merge pull request #78893 from v-jiche/cjmeclipsereader
mychange
2 parents 711c528 + 84920d9 commit d554f49

11 files changed

+54
-0
lines changed

articles/hdinsight/spark/apache-spark-eclipse-tool-plugin.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,60 @@ To resolve this error, you need [download the executable](https://public-repo-1.
220220

221221
![Spark application local run result](./media/apache-spark-eclipse-tool-plugin/hdi-spark-app-local-run-result.png)
222222

223+
## Reader-only role
224+
When users submit job to a cluster with reader-only role permission, Ambari credentials is required.
225+
226+
### Link cluster from context menu
227+
228+
1. Sign in with reader-only role account.
229+
230+
2. From **Azure Explorer**, expand **HDInsight** to view HDInsight clusters that are in your subscription. The clusters marked **"Role:Reader"** only have reader-only role permission.
231+
232+
![HDInsight Spark clusters in Azure Explorer](./media/apache-spark-eclipse-tool-plugin/view-explorer-6.png)
233+
234+
3. Right click the cluster with reader-only role permission. Select **Link this cluster** from context menu to link cluster. Enter the Ambari username and password.
235+
236+
![HDInsight Spark clusters in Azure Explorer](./media/apache-spark-eclipse-tool-plugin/view-explorer-7.png)
237+
238+
4. If the cluster is linked successfully, HDInsight will be refreshed.
239+
The stage of the cluster will become linked.
240+
241+
![HDInsight Spark clusters in Azure Explorer](./media/apache-spark-eclipse-tool-plugin/view-explorer-8.png)
242+
243+
244+
245+
### Link cluster by expanding Jobs node
246+
247+
1. Click **Jobs** node, **Cluster Job Access Denied** window pops up.
248+
249+
2. Click **Link this cluster** to link cluster.
250+
251+
![HDInsight Spark clusters in Azure Explorer](./media/apache-spark-eclipse-tool-plugin/view-explorer-9.png)
252+
253+
### Link cluster from Spark Submission window
254+
255+
1. Create an HDInsight Project.
256+
257+
2. Right click the package. Then select **Submit Spark Application to HDInsight**.
258+
259+
![HDInsight Spark clusters in Azure Explorer](./media/apache-spark-eclipse-tool-plugin/view-explorer-11.png)
260+
261+
3. Select a cluster which has reader-only role permission for **Cluster Name**. Warning message shows out. You can click **Link this cluster** to link cluster.
262+
263+
![HDInsight Spark clusters in Azure Explorer](./media/apache-spark-eclipse-tool-plugin/view-explorer-15.png)
264+
265+
### View Storage Accounts
266+
267+
* For clusters with reader-only role permission, click **Storage Accounts** node, **Storage Access Denied** window pops up.
268+
269+
![HDInsight Spark clusters in Azure Explorer](./media/apache-spark-eclipse-tool-plugin/view-explorer-13.png)
270+
271+
![HDInsight Spark clusters in Azure Explorer](./media/apache-spark-eclipse-tool-plugin/view-explorer-12.png)
272+
273+
* For linked clusters, click **Storage Accounts** node, **Storage Access Denied** window pops up.
274+
275+
![HDInsight Spark clusters in Azure Explorer](./media/apache-spark-eclipse-tool-plugin/view-explorer-14.png)
276+
223277
## Known problems
224278
When link a cluster, I would suggest you to provide credential of storage.
225279

4.44 KB
Loading
8.49 KB
Loading
2.83 KB
Loading
7.17 KB
Loading
98.1 KB
Loading
208 Bytes
Loading
2.76 KB
Loading
5.65 KB
Loading
1.79 KB
Loading

0 commit comments

Comments
 (0)