Skip to content

Commit 86c5c59

Browse files
committed
cats150
1 parent 0b706f3 commit 86c5c59

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

articles/hdinsight/r-server/ml-services-tutorial-spark-compute.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
title: 'Tutorial: Use R in a Spark compute context in Azure HDInsight'
33
description: Tutorial - Get started with R and Spark on an Azure HDInsight Machine Learning services cluster.
4-
ms.service: hdinsight
54
author: hrasheed-msft
65
ms.author: hrasheed
76
ms.reviewer: jasonh
7+
ms.service: hdinsight
88
ms.custom: hdinsightactive
99
ms.topic: tutorial
1010
ms.date: 06/21/2019
@@ -55,9 +55,9 @@ The *Airline 2012 On-Time Data Set* consists of 12 comma-separated files that co
5555

5656
1. In the right pane, select the **Environment** tab. The variables are displayed under **Values**.
5757

58-
![RStudio](./media/ml-services-tutorial-spark-compute/hdinsight-rstudio-image.png)
58+
![HDInsight R studio web console](./media/ml-services-tutorial-spark-compute/hdinsight-rstudio-image.png)
5959

60-
1. Create a local directory, and download the sample data. In RStudio, enter the following code:
60+
1. Create a local directory, and download the sample data. In RStudio, enter the following code:
6161

6262
```R
6363
# Create local directory

articles/hdinsight/r-server/r-server-hdinsight-manage.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
title: Manage ML Services cluster on HDInsight - Azure
33
description: Learn how to manage various tasks on ML Services cluster in Azure HDInsight.
4-
ms.service: hdinsight
54
author: hrasheed-msft
65
ms.author: hrasheed
76
ms.reviewer: jasonh
7+
ms.service: hdinsight
88
ms.custom: hdinsightactive
99
ms.topic: conceptual
1010
ms.date: 06/19/2019
@@ -18,22 +18,20 @@ In this article, you learn how to manage an existing ML Services cluster on Azur
1818

1919
* An ML Services cluster on HDInsight. See [Create Apache Hadoop clusters using the Azure portal](../hdinsight-hadoop-create-linux-clusters-portal.md) and select **ML Services** for **Cluster type**.
2020

21-
2221
* A Secure Shell (SSH) client: An SSH client is used to remotely connect to the HDInsight cluster and run commands directly on the cluster. For more information, see [Use SSH with HDInsight.](../hdinsight-hadoop-linux-use-ssh-unix.md).
2322

24-
2523
## Enable multiple concurrent users
2624

2725
You can enable multiple concurrent users for ML Services cluster on HDInsight by adding more users for the edge node on which the RStudio community version runs. When you create an HDInsight cluster, you must provide two users, an HTTP user and an SSH user:
2826

29-
![Concurrent user 1](./media/r-server-hdinsight-manage/hdi-concurrent-users1.png)
27+
![HDI Azure portal login parameters](./media/r-server-hdinsight-manage/hdi-concurrent-users1.png)
3028

3129
- **Cluster login username**: an HTTP user for authentication through the HDInsight gateway that is used to protect the HDInsight clusters you created. This HTTP user is used to access the Apache Ambari UI, Apache Hadoop YARN UI, as well as other UI components.
3230
- **Secure Shell (SSH) username**: an SSH user to access the cluster through secure shell. This user is a user in the Linux system for all the head nodes, worker nodes, and edge nodes. So you can use secure shell to access any of the nodes in a remote cluster.
3331

3432
The R Studio Server Community version used in the ML Services cluster on HDInsight accepts only Linux username and password as a sign in mechanism. It does not support passing tokens. So, when you try to access R Studio for the first time on an ML Services cluster, you need to sign in twice.
3533

36-
- First sign in using the HTTP user credentials through the HDInsight Gateway.
34+
- First sign in using the HTTP user credentials through the HDInsight Gateway.
3735

3836
- Then use the SSH user credentials to sign in to RStudio.
3937

@@ -61,7 +59,7 @@ To add a user to the edge node, execute the commands:
6159

6260
The following screenshot shows the outputs.
6361

64-
![Concurrent user 3](./media/r-server-hdinsight-manage/hdi-concurrent-users2.png)
62+
![screenshot output concurrent users](./media/r-server-hdinsight-manage/hdi-concurrent-users2.png)
6563

6664
When prompted for "Current Kerberos password:", just press **Enter** to ignore it. The `-m` option in `useradd` command indicates that the system will create a home folder for the user, which is required for RStudio Community version.
6765

@@ -200,11 +198,9 @@ To install R packages on the worker nodes of the cluster, you must use a Script
200198
> [!NOTE]
201199
> 1. By default, all R packages are installed from a snapshot of the Microsoft MRAN repository consistent with the version of ML Server that has been installed. If you want to install newer versions of packages, then there is some risk of incompatibility. However this kind of install is possible by specifying `useCRAN` as the first element of the package list, for example `useCRAN bitops, stringr, arules`.
202200
> 2. Some R packages require additional Linux system libraries. For convenience, the HDInsight ML Services comes pre-installed with the dependencies needed by the top 100 most popular R packages. However, if the R package(s) you install require libraries beyond these then you must download the base script used here and add steps to install the system libraries. You must then upload the modified script to a public blob container in Azure storage and use the modified script to install the packages.
203-
> For more information on developing Script Actions, see [Script Action development](../hdinsight-hadoop-script-actions-linux.md).
204-
>
205-
>
201+
> For more information on developing Script Actions, see [Script Action development](../hdinsight-hadoop-script-actions-linux.md).
206202
207-
![Adding a script action](./media/r-server-hdinsight-manage/submit-script-action.png)
203+
![Azure portal submit script action](./media/r-server-hdinsight-manage/submit-script-action.png)
208204

209205
4. Select **Create** to run the script. Once the script completes, the R packages are available on all worker nodes.
210206

0 commit comments

Comments
 (0)