Browse Source

HUE-219. Fix SECURITY_ENABLED conf to use coerce_bool instead of bool type

Todd Lipcon 15 years ago
parent
commit
75962128a9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      desktop/libs/hadoop/src/hadoop/conf.py

+ 2 - 2
desktop/libs/hadoop/src/hadoop/conf.py

@@ -120,7 +120,7 @@ HDFS_CLUSTERS = UnspecifiedConfigSection(
       DN_KERBEROS_PRINCIPAL=Config("nn_kerberos_principal", help="Kerberos principal for DataNode",
                                    default="hdfs", type=str),
       SECURITY_ENABLED=Config("security_enabled", help="Is running with Kerberos authentication",
-                              default=False, type=bool),
+                              default=False, type=coerce_bool),
     )
   )
 )
@@ -137,7 +137,7 @@ MR_CLUSTERS = UnspecifiedConfigSection(
       JT_KERBEROS_PRINCIPAL=Config("jt_kerberos_principal", help="Kerberos principal for JobTracker",
                                    default="mapred", type=str),
       SECURITY_ENABLED=Config("security_enabled", help="Is running with Kerberos authentication",
-                              default=False, type=bool))
+                              default=False, type=coerce_bool))
 ))