[ 
https://issues.apache.org/jira/browse/KNOX-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandor Molnar updated KNOX-1795:
--------------------------------
    Attachment: Screen Shot 2019-02-25 at 9.53.38 AM.png

> Discrepancies between DEv guide and confluence for KnoxToken sessions in 
> confluence
> -----------------------------------------------------------------------------------
>
>                 Key: KNOX-1795
>                 URL: https://issues.apache.org/jira/browse/KNOX-1795
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: KnoxShell
>    Affects Versions: 1.2.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>             Fix For: 1.3.0
>
>         Attachments: Screen Shot 2019-02-25 at 9.53.38 AM.png
>
>
> Following the steps described in [Knox's Confluence 
> page|https://cwiki.apache.org/confluence/display/KNOX/KnoxToken+Sessions+with+KnoxShell+in+Apache+Knox+0.12.0]
>  results in the following error:
> {code:java}
> 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
> {code}
> 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|http://knox.apache.org/books/knox-1-2-0/user-guide.html#Client+Token+Sessions]
>  has the correct packages.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to