浏览代码

[test] Add a bash shell for developer mode to test shell interactions

bc Wong 13 年之前
父节点
当前提交
8e47e6823d
共有 1 个文件被更改,包括 18 次插入11 次删除
  1. 18 11
      desktop/conf/pseudo-distributed.ini.tmpl

+ 18 - 11
desktop/conf/pseudo-distributed.ini.tmpl

@@ -6,12 +6,12 @@
 # ===================================
 # ===================================
 #
 #
 # For complete documentation about the contents of this file, run
 # For complete documentation about the contents of this file, run
-# 	$ <hue_root>/build/env/bin/hue config_help
+#       $ <hue_root>/build/env/bin/hue config_help
 #
 #
 # All .ini files under the current directory are treated equally.  Their
 # All .ini files under the current directory are treated equally.  Their
 # contents are merged to form the Hue configuration, which can
 # contents are merged to form the Hue configuration, which can
 # can be viewed on the Hue at
 # can be viewed on the Hue at
-# 	http://<hue_host>:<port>/dump_config
+#       http://<hue_host>:<port>/dump_config
 
 
 
 
 ###########################################################################
 ###########################################################################
@@ -291,8 +291,8 @@
       help = "The command-line Flume client interface."
       help = "The command-line Flume client interface."
 
 
       [[[[ environment ]]]]
       [[[[ environment ]]]]
-	# You can specify environment variables for the Flume shell
-	# in this section.
+        # You can specify environment variables for the Flume shell
+        # in this section.
 
 
     # Define and configure a new shell type "pig"
     # Define and configure a new shell type "pig"
     # ------------------------------------------------------------------------
     # ------------------------------------------------------------------------
@@ -302,12 +302,12 @@
       help = "The command-line interpreter for Pig"
       help = "The command-line interpreter for Pig"
 
 
       [[[[ environment ]]]]
       [[[[ environment ]]]]
-	# You can specify environment variables for the Pig shell
-	# in this section. Note that JAVA_HOME must be configured
-	# for the Pig shell to run.
+        # You can specify environment variables for the Pig shell
+        # in this section. Note that JAVA_HOME must be configured
+        # for the Pig shell to run.
 
 
-	[[[[[ JAVA_HOME ]]]]]
-	  value = "/usr/lib/jvm/java-6-sun"
+        [[[[[ JAVA_HOME ]]]]]
+          value = "/usr/lib/jvm/java-6-sun"
 
 
     # Define and configure a new shell type "hbase"
     # Define and configure a new shell type "hbase"
     # ------------------------------------------------------------------------
     # ------------------------------------------------------------------------
@@ -317,8 +317,15 @@
       help = "The command-line HBase client interface."
       help = "The command-line HBase client interface."
 
 
       [[[[ environment ]]]]
       [[[[ environment ]]]]
-	# You can configure environment variables for the HBase shell
-	# in this section.
+        # You can configure environment variables for the HBase shell
+        # in this section.
+
+    # Define and configure a new shell type "bash" for testing only
+    # ------------------------------------------------------------------------
+    [[[ bash ]]]
+      nice_name = "Bash (Test only!!!)"
+      command = "/bin/bash"
+      help = "A shell that does not depend on Hadoop components"
 
 
 
 
 ###########################################################################
 ###########################################################################