Эх сурвалжийг харах

Fixed Hudson tests against new secure Hadoop. Documented krb conf options.

bc Wong 15 жил өмнө
parent
commit
941a367a18

+ 1 - 1
apps/jobbrowser/src/jobbrowser/tests.py

@@ -188,7 +188,7 @@ class TestJobBrowserWithHadoop(object):
     # unless we change SleepJob
     # unless we change SleepJob
     assert_equal(
     assert_equal(
       response.context['job'].counters['FileSystemCounters']['counters']['FILE_BYTES_WRITTEN'],
       response.context['job'].counters['FileSystemCounters']['counters']['FILE_BYTES_WRITTEN'],
-      {'map': 44L, 'reduce': 12L, 'displayName': 'FILE_BYTES_WRITTEN', 'name': 'FILE_BYTES_WRITTEN'}
+      {'map': 21493L, 'reduce': 21462L, 'displayName': 'FILE_BYTES_WRITTEN', 'name': 'FILE_BYTES_WRITTEN'}
     )
     )
 
 
     # We can't just check the complete contents of the python map because the
     # We can't just check the complete contents of the python map because the

+ 10 - 0
desktop/conf.dist/hue.ini

@@ -103,6 +103,16 @@ tls=no
 ## default_from_email=hue@localhost
 ## default_from_email=hue@localhost
 
 
 
 
+# Configuration options for Kerberos integration for secured Hadoop clusters
+# ------------------------------------------------------------------------
+[[kerberos]]
+
+# Path to Hue's Kerberos keytab file
+## hue_keytab=
+# Kerberos principal name for Hue
+## hue_principal=hue/hostname.foo.com
+
+
 ###########################################################################
 ###########################################################################
 # Settings to configure your Hadoop cluster.
 # Settings to configure your Hadoop cluster.
 ###########################################################################
 ###########################################################################