Skip to content

Commit 4d505bc

Browse files
authored
Merge pull request #88812 from dagiro/cats108
cats108
2 parents fbe973a + 2c7bf9d commit 4d505bc

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

articles/hdinsight/hadoop/hdinsight-tools-for-intellij-with-hortonworks-sandbox.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ ms.custom: hdinsightactive
1010
ms.topic: conceptual
1111
ms.date: 05/16/2018
1212
ms.author: hrasheed
13-
1413
---
14+
1515
# Use HDInsight Tools for IntelliJ with Hortonworks Sandbox
1616

1717
Learn how to use HDInsight Tools for IntelliJ to develop Apache Scala applications, and then test the applications on [Hortonworks Sandbox](https://hortonworks.com/products/sandbox/) running on your computer.
@@ -51,7 +51,7 @@ In this section, you create a sample Scala project by using IntelliJ IDEA. In th
5151
* **Maven**: For Scala project-creation wizard support.
5252
* **SBT**: For managing dependencies and building for the Scala project.
5353

54-
![The New Project dialog box](./media/hdinsight-tools-for-intellij-with-hortonworks-sandbox/intellij-create-scala-project.png)
54+
![Intellij create new scala project](./media/hdinsight-tools-for-intellij-with-hortonworks-sandbox/intellij-create-scala-project.png)
5555

5656
2. Select **Next**.
5757
3. In the next **New Project** dialog box, complete the following steps:

articles/hdinsight/hadoop/hdinsight-use-mapreduce.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ms.custom: hdinsightactive
99
ms.topic: conceptual
1010
ms.date: 03/20/2019
1111
---
12+
1213
# Use MapReduce in Apache Hadoop on HDInsight
1314

1415
Learn how to run MapReduce jobs on HDInsight clusters.

articles/hdinsight/hadoop/hdinsight-use-sqoop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The cluster, SQL database, and other objects are created through the Azure porta
6868
6969
1. Select the following image to open the Resource Manager template in the Azure portal.
7070

71-
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-hdinsight-linux-with-sql-database%2Fazuredeploy.json" target="_blank"><img src="./media/hdinsight-use-sqoop/hdi-deploy-to-azure1.png" alt="Deploy to Azure"></a>
71+
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-hdinsight-linux-with-sql-database%2Fazuredeploy.json" target="_blank"><img src="./media/hdinsight-use-sqoop/hdi-deploy-to-azure1.png" alt="Deploy to Azure button for new cluster"></a>
7272

7373
2. Enter the following properties:
7474

articles/hdinsight/hadoop/using-json-in-hive.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ The **SELECT** statement only returns one row.
8686

8787
Here is the output of the **SELECT** statement:
8888

89-
![Flattening the JSON document](./media/using-json-in-hive/hdinsight-flatten-json.png)
89+
![HDInsight flattening the JSON document](./media/using-json-in-hive/hdinsight-flatten-json.png)
9090

9191
## Analyze JSON documents in Hive
9292
Hive provides three different mechanisms to run queries on JSON documents, or you can write your own:
@@ -110,7 +110,7 @@ FROM StudentsOneLine;
110110

111111
Here is the output when you run this query in the console window:
112112

113-
![get_json_object UDF](./media/using-json-in-hive/hdinsight-get-json-object.png)
113+
![Apache Hive get json object UDF](./media/using-json-in-hive/hdinsight-get-json-object.png)
114114

115115
There are limitations of the get_json_object UDF:
116116

@@ -131,7 +131,7 @@ LATERAL VIEW JSON_TUPLE(jt.json_body, 'StudentId', 'Grade') q1
131131

132132
The output of this script in the Hive console:
133133

134-
![json_tuple UDF](./media/using-json-in-hive/hdinsight-json-tuple.png)
134+
![Apache Hive json query results](./media/using-json-in-hive/hdinsight-json-tuple.png)
135135

136136
The json_tuple UDF uses the [lateral view](https://cwiki.apache.org/confluence/display/Hive/LanguageManual+LateralView) syntax in Hive, which enables json\_tuple to create a virtual table by applying the UDT function to each row of the original table. Complex JSONs become too unwieldy because of the repeated use of **LATERAL VIEW**. Furthermore, **JSON_TUPLE** cannot handle nested JSONs.
137137

0 commit comments

Comments
 (0)