Browse Source

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

bc Wong 15 years ago
parent
commit
941a367a18
2 changed files with 11 additions and 1 deletions
  1. 1 1
      apps/jobbrowser/src/jobbrowser/tests.py
  2. 10 0
      desktop/conf.dist/hue.ini

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

@@ -188,7 +188,7 @@ class TestJobBrowserWithHadoop(object):
     # unless we change SleepJob
     assert_equal(
       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

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

@@ -103,6 +103,16 @@ tls=no
 ## 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.
 ###########################################################################