[GitHub] [carbondata] dhatchayani commented on a change in pull request #3296: [CARBONDATA-3443] Update hive guide with Read from hive

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] dhatchayani commented on a change in pull request #3296: [CARBONDATA-3443] Update hive guide with Read from hive

GitBox
dhatchayani commented on a change in pull request #3296: [CARBONDATA-3443] Update hive guide with Read from hive
URL: https://github.com/apache/carbondata/pull/3296#discussion_r297021850
 
 

 ##########
 File path: docs/hive-guide.md
 ##########
 @@ -83,20 +83,40 @@ copy snappy-java-xxx.jar from "./<SPARK_HOME>/jars/" to "./Library/Java/Extensio
 export HADOOP_OPTS="-Dorg.xerial.snappy.lib.path=/Library/Java/Extensions -Dorg.xerial.snappy.lib.name=libsnappyjava.jnilib -Dorg.xerial.snappy.tempdir=/Users/apple/DEMO/tmp"
 ```
 
-### Start hive client
+### Carbon Jars to be placed
 ```
-$HIVE_HOME/bin/hive
+hive/lib/ (for hive server)
+yarn/lib/ (for MapReduce)
+
+Carbon Jars to be copied to the above paths.
+```
+
+### Start hive beeline to query
+```
+$HIVE_HOME/bin/Beeline
 ```
 
-### Query data from hive table
+### Query data from hive
+
+ - This is to read the carbon table through Hive. It is the integration of the carbon with Hive.
 
 ```
 set hive.mapred.supports.subdirectories=true;
-set mapreduce.input.fileinputformat.input.dir.recursive=true;
+set mapreduce.dir.recursive=true;
+These properties helps to recursively traverse through the directories to read the carbon folder structure.
+
+###Example
 
 Review comment:
   optimized

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services