You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/04/07 14:05:02 UTC

incubator-ignite git commit: [IGNITE-665]: corrected default hadoop config, section regarding the 2ndary filesystem.

Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-665 34e30046b -> 58d77a64b


[IGNITE-665]: corrected default hadoop config, section regarding the 2ndary filesystem.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/58d77a64
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/58d77a64
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/58d77a64

Branch: refs/heads/ignite-665
Commit: 58d77a64b8239b04ad9c777450cde42d9d6797b1
Parents: 34e3004
Author: iveselovskiy <iv...@gridgain.com>
Authored: Tue Apr 7 15:04:14 2015 +0300
Committer: iveselovskiy <iv...@gridgain.com>
Committed: Tue Apr 7 15:04:14 2015 +0300

----------------------------------------------------------------------
 config/hadoop/default-config.xml | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/58d77a64/config/hadoop/default-config.xml
----------------------------------------------------------------------
diff --git a/config/hadoop/default-config.xml b/config/hadoop/default-config.xml
index 902ced2..97986f6 100644
--- a/config/hadoop/default-config.xml
+++ b/config/hadoop/default-config.xml
@@ -130,22 +130,26 @@
                         </bean>
                     </property>
 
-                    <!-- Example secondary file system configuration (IGFS configured over Hadoop HDFS). 
-                      Possible valued for defaultMode are DUAL_ASYNC, DUAL_SYNC, PROXY.  
-                      Properties of IgniteHadoopIgfsSecondaryFileSystem:
+                    <!-- Example secondary file system configuration (IGFS configured over Hadoop HDFS). -->
+
+                    <!-- Possible valued for defaultMode are DUAL_ASYNC (default), DUAL_SYNC, PROXY. -->
+                    <!-- 
+                    <property name="defaultMode" value="DUAL_ASYNC"/> 
+                    -->
+
+                    <!-- 
+                        Properties of IgniteHadoopIgfsSecondaryFileSystem:
                         'uri'      - the URI of the secondary file system.
-                        'cfgPath'  - optional configuration path of the secondary file system, e.g. /opt/foo/core-site.xml. Typically left empty. 
+                        'cfgPath'  - optional configuration path of the secondary file system, e.g. /opt/foo/core-site.xml. Typically left to be null. 
                         'userName' - optional user name to access the secondary file system on behalf of. Use it if Hadoop client and 
                             the Ignite node are running on behalf of different users.
-                      -->
+                    -->
                     <!--
-                    <property name="defaultMode" value="DUAL_ASYNC"/>
-
                     <property name="secondaryFileSystem">
                         <bean class="org.apache.ignite.hadoop.fs.IgniteHadoopIgfsSecondaryFileSystem">
-                            <constructor-arg name="uri"      value="hdfs://1.2.3.4:9000"/>
-                            <constructor-arg name="cfgPath"  value=""/>
-                            <constructor-arg name="userName" value=""/>
+                            <constructor-arg name="uri"      value="hdfs://localhost:9000"/>
+                            <constructor-arg name="cfgPath"> <null/> </constructor-arg>
+                            <constructor-arg name="userName" value="client-user-name"/>
                         </bean>
                     </property>
                     -->