Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2269

Fail to GET oozie info in a kerberos security oozie server

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.6.0
    • Fix Version/s: None
    • Component/s: con.oozie
    • Labels:
    • Environment:

      RHEL6, python2.7

      Description

      I have built from source and set up two different hue servers to connect to two clusters, one with security, the other without. In both cases, I have the hue webhdfs working.
      I get valid response back from the non-secure oozie server when accessing the oozie dashboard. But I get errors in the secure oozie server. My configurations are similar. This error is caused by the object json_dict is empty. Error log as below:

      string indices must be integers, not str
      Request Method: GET
      Request URL: http://oozie_server:8888/oozie/
      Django Version: 1.4.5
      Exception Type: TypeError
      Exception Value:
      string indices must be integers, not str
      Exception Location: /homes/yixiao/workspace/huegit/hue/desktop/libs/liboozie/src/liboozie/types.py in _init_, line 622
      Python Executable: /homes/yixiao/workspace/huegit/hue/build/env/bin/python2.7
      Python Version: 2.7.6

      I started both server using command: build/env/bin/hue runcherrypyserver
      It should not be the oozie server problem since I can manually get the oozie server response by:
      curl --negotiate -u : http://oozie_server:4080/oozie/v1/jobs?filter=&timezone=America%2FLos_Angeles&jobtype=wf&len=100&doAs=admin

        Attachments

        1. access.log
          48 kB
        2. error.log
          81 kB
        3. pseudo-distributed.ini
          31 kB
        4. runcherrypyserver.log
          114 kB
        5. TypeError at oozie .html
          100 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yixiao yixiao lin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: