Kaynağa Gözat

[livy] Add HADOOP_CONF_DIR in the README

Also updated blog posts
Romain Rigaux 10 yıl önce
ebeveyn
işleme
930713c
1 değiştirilmiş dosya ile 9 ekleme ve 3 silme
  1. 9 3
      apps/spark/java/README.rst

+ 9 - 3
apps/spark/java/README.rst

@@ -97,24 +97,30 @@ Livy`_. Then run:
 .. code:: shell
 
     % export SPARK_HOME=/usr/lib/spark
+    % export HADOOP_CONF_DIR=/etc/hadoop/conf
     % mvn test
 
 
 Running Livy
 ============
 
-In order to run Livy with local sessions, start the server with:
+In order to run Livy with local sessions, first export these variables:
+
+.. code:: shell
+
+   % export SPARK_HOME=/usr/lib/spark
+   % export HADOOP_CONF_DIR=/etc/hadoop/conf
+
+Then start the server with:
 
 .. code:: shell
 
-    % export SPARK_HOME=/usr/lib/spark
     % ./bin/livy-server
 
 Or with YARN sessions by running:
 
 .. code:: shell
 
-   % export SPARK_HOME=/usr/lib/spark
    % env \
      LIVY_SERVER_JAVA_OPTS="-Dlivy.server.session.factory=yarn" \
      CLASSPATH=`hadoop classpath` \