Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-1795

Discrepancies between DEv guide and confluence for KnoxToken sessions in confluence

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: KnoxShell
    • Labels:
      None

      Description

      Following the steps described in Knox's Confluence page results in the following error:

      SNAPSHOT/samples/ExampleCachedTokenUsage.groovy: 23: unable to resolve class org.apache.hadoop.gateway.shell.Hadoop
       @ line 23, column 1.
         import org.apache.hadoop.gateway.shell.Hadoop
         ^
      
      /Users/smolnar/test/knoxshell/knoxshell-1.3.0-SNAPSHOT/samples/ExampleCachedTokenUsage.groovy: 24: unable to resolve class org.apache.hadoop.gateway.shell.hdfs.Hdfs
       @ line 24, column 1.
         import org.apache.hadoop.gateway.shell.hdfs.Hdfs
         ^
      
      /Users/smolnar/test/knoxshell/knoxshell-1.3.0-SNAPSHOT/samples/ExampleCachedTokenUsage.groovy: 22: unable to resolve class org.apache.hadoop.gateway.shell.Credentials
       @ line 22, column 1.
         import org.apache.hadoop.gateway.shell.Credentials
         ^
      
      3 errors
      

      The reason for this issue is that the above-mentioned classes have wrong package names: org.apache.hadoop.gateway.shell vs org.apache.knox.gateway.shell.

      Note: the corresponding section in the DEV guide has the correct packages.

        Attachments

          Activity

            People

            • Assignee:
              smolnar Sandor Molnar
              Reporter:
              smolnar Sandor Molnar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: