[jira] [Commented] (KNOX-1001) Knox Shell Sqoop.Request class is Package Private

2017-10-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KNOX-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16220513#comment-16220513
 ] 

ASF subversion and git services commented on KNOX-1001:
---

Commit c440344ae3216d4f16c897d803cdf766bda2d97d in knox's branch 
refs/heads/KNOX-1049 from [~lmccay]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=c440344 ]

KNOX-1001 - Knox Shell Sqoop.Request class is Package Private (Andrei Viaryshka 
via lmccay)

> Knox Shell Sqoop.Request class is Package Private
> -
>
> Key: KNOX-1001
> URL: https://issues.apache.org/jira/browse/KNOX-1001
> Project: Apache Knox
>  Issue Type: Bug
>  Components: ClientDSL
>Reporter: Andrei Viaryshka
>Assignee: Andrei Viaryshka
> Fix For: 0.14.0
>
> Attachments: KNOX-1001.patch
>
>
> org.apache.hadoop.gateway.shell.job.Sqoop.Request class is package-private. 
> This causes compilation errors when trying to submit sqoop job from a class 
> in a different package.
> For example:
> {code}
> package test.knox.sqoop;
> import org.apache.hadoop.gateway.shell.Hadoop;
> import org.apache.hadoop.gateway.shell.job.Job;
> public class TestSqoop {
>   public static void main( String[] args ) {
> try {
>   Hadoop session = Hadoop.login( "test", "test", "test" );
>   String text = Job.submitSqoop( session ).command( "test command" 
> ).libdir( "libdir" ).now().getString();
>   session.shutdown();
> } catch ( Exception e ) {
>   e.printStackTrace();
> }
>   }
> }
> {code}
> It results in the following errors:
> {code}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,47] 
> command(java.lang.String) in 
> org.apache.hadoop.gateway.shell.job.Sqoop.Request is defined in an 
> inaccessible class or interface
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,73] 
> libdir(java.lang.String) in org.apache.hadoop.gateway.shell.job.Sqoop.Request 
> is defined in an inaccessible class or interface
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,92] 
> now() in org.apache.hadoop.gateway.shell.AbstractRequest is defined in an 
> inaccessible class or interface
> [INFO] 3 errors
> {code}
> The Request class needs to be made public.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (KNOX-1001) Knox Shell Sqoop.Request class is Package Private

2017-10-25 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KNOX-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16219333#comment-16219333
 ] 

ASF subversion and git services commented on KNOX-1001:
---

Commit c440344ae3216d4f16c897d803cdf766bda2d97d in knox's branch 
refs/heads/KNOX-998-Package_Restructuring from [~lmccay]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=c440344 ]

KNOX-1001 - Knox Shell Sqoop.Request class is Package Private (Andrei Viaryshka 
via lmccay)

> Knox Shell Sqoop.Request class is Package Private
> -
>
> Key: KNOX-1001
> URL: https://issues.apache.org/jira/browse/KNOX-1001
> Project: Apache Knox
>  Issue Type: Bug
>  Components: ClientDSL
>Reporter: Andrei Viaryshka
>Assignee: Andrei Viaryshka
> Fix For: 0.14.0
>
> Attachments: KNOX-1001.patch
>
>
> org.apache.hadoop.gateway.shell.job.Sqoop.Request class is package-private. 
> This causes compilation errors when trying to submit sqoop job from a class 
> in a different package.
> For example:
> {code}
> package test.knox.sqoop;
> import org.apache.hadoop.gateway.shell.Hadoop;
> import org.apache.hadoop.gateway.shell.job.Job;
> public class TestSqoop {
>   public static void main( String[] args ) {
> try {
>   Hadoop session = Hadoop.login( "test", "test", "test" );
>   String text = Job.submitSqoop( session ).command( "test command" 
> ).libdir( "libdir" ).now().getString();
>   session.shutdown();
> } catch ( Exception e ) {
>   e.printStackTrace();
> }
>   }
> }
> {code}
> It results in the following errors:
> {code}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,47] 
> command(java.lang.String) in 
> org.apache.hadoop.gateway.shell.job.Sqoop.Request is defined in an 
> inaccessible class or interface
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,73] 
> libdir(java.lang.String) in org.apache.hadoop.gateway.shell.job.Sqoop.Request 
> is defined in an inaccessible class or interface
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,92] 
> now() in org.apache.hadoop.gateway.shell.AbstractRequest is defined in an 
> inaccessible class or interface
> [INFO] 3 errors
> {code}
> The Request class needs to be made public.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (KNOX-1001) Knox Shell Sqoop.Request class is Package Private

2017-10-20 Thread Andrei Viaryshka (JIRA)

[ 
https://issues.apache.org/jira/browse/KNOX-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16212294#comment-16212294
 ] 

Andrei Viaryshka commented on KNOX-1001:


Thank you!

> Knox Shell Sqoop.Request class is Package Private
> -
>
> Key: KNOX-1001
> URL: https://issues.apache.org/jira/browse/KNOX-1001
> Project: Apache Knox
>  Issue Type: Bug
>  Components: ClientDSL
>Reporter: Andrei Viaryshka
>Assignee: Andrei Viaryshka
> Fix For: 0.14.0
>
> Attachments: KNOX-1001.patch
>
>
> org.apache.hadoop.gateway.shell.job.Sqoop.Request class is package-private. 
> This causes compilation errors when trying to submit sqoop job from a class 
> in a different package.
> For example:
> {code}
> package test.knox.sqoop;
> import org.apache.hadoop.gateway.shell.Hadoop;
> import org.apache.hadoop.gateway.shell.job.Job;
> public class TestSqoop {
>   public static void main( String[] args ) {
> try {
>   Hadoop session = Hadoop.login( "test", "test", "test" );
>   String text = Job.submitSqoop( session ).command( "test command" 
> ).libdir( "libdir" ).now().getString();
>   session.shutdown();
> } catch ( Exception e ) {
>   e.printStackTrace();
> }
>   }
> }
> {code}
> It results in the following errors:
> {code}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,47] 
> command(java.lang.String) in 
> org.apache.hadoop.gateway.shell.job.Sqoop.Request is defined in an 
> inaccessible class or interface
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,73] 
> libdir(java.lang.String) in org.apache.hadoop.gateway.shell.job.Sqoop.Request 
> is defined in an inaccessible class or interface
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,92] 
> now() in org.apache.hadoop.gateway.shell.AbstractRequest is defined in an 
> inaccessible class or interface
> [INFO] 3 errors
> {code}
> The Request class needs to be made public.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (KNOX-1001) Knox Shell Sqoop.Request class is Package Private

2017-10-19 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/KNOX-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16211841#comment-16211841
 ] 

ASF subversion and git services commented on KNOX-1001:
---

Commit c440344ae3216d4f16c897d803cdf766bda2d97d in knox's branch 
refs/heads/master from [~lmccay]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=c440344 ]

KNOX-1001 - Knox Shell Sqoop.Request class is Package Private (Andrei Viaryshka 
via lmccay)

> Knox Shell Sqoop.Request class is Package Private
> -
>
> Key: KNOX-1001
> URL: https://issues.apache.org/jira/browse/KNOX-1001
> Project: Apache Knox
>  Issue Type: Bug
>  Components: ClientDSL
>Reporter: Andrei Viaryshka
>Assignee: Andrei Viaryshka
> Fix For: 0.14.0
>
> Attachments: KNOX-1001.patch
>
>
> org.apache.hadoop.gateway.shell.job.Sqoop.Request class is package-private. 
> This causes compilation errors when trying to submit sqoop job from a class 
> in a different package.
> For example:
> {code}
> package test.knox.sqoop;
> import org.apache.hadoop.gateway.shell.Hadoop;
> import org.apache.hadoop.gateway.shell.job.Job;
> public class TestSqoop {
>   public static void main( String[] args ) {
> try {
>   Hadoop session = Hadoop.login( "test", "test", "test" );
>   String text = Job.submitSqoop( session ).command( "test command" 
> ).libdir( "libdir" ).now().getString();
>   session.shutdown();
> } catch ( Exception e ) {
>   e.printStackTrace();
> }
>   }
> }
> {code}
> It results in the following errors:
> {code}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,47] 
> command(java.lang.String) in 
> org.apache.hadoop.gateway.shell.job.Sqoop.Request is defined in an 
> inaccessible class or interface
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,73] 
> libdir(java.lang.String) in org.apache.hadoop.gateway.shell.job.Sqoop.Request 
> is defined in an inaccessible class or interface
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,92] 
> now() in org.apache.hadoop.gateway.shell.AbstractRequest is defined in an 
> inaccessible class or interface
> [INFO] 3 errors
> {code}
> The Request class needs to be made public.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (KNOX-1001) Knox Shell Sqoop.Request class is Package Private

2017-08-30 Thread Jeffrey E Rodriguez (JIRA)

[ 
https://issues.apache.org/jira/browse/KNOX-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16147448#comment-16147448
 ] 

Jeffrey E  Rodriguez commented on KNOX-1001:


Thanks Andrei good finding. The other classes defined in 
rg.apache.hadoop.gateway.shell.job.Job are public static.

> Knox Shell Sqoop.Request class is Package Private
> -
>
> Key: KNOX-1001
> URL: https://issues.apache.org/jira/browse/KNOX-1001
> Project: Apache Knox
>  Issue Type: Bug
>  Components: ClientDSL
>Reporter: Andrei Viaryshka
> Fix For: 0.14.0
>
>
> org.apache.hadoop.gateway.shell.job.Sqoop.Request class is package-private. 
> This causes compilation errors when trying to submit sqoop job from a class 
> in a different package.
> For example:
> {code}
> package test.knox.sqoop;
> import org.apache.hadoop.gateway.shell.Hadoop;
> import org.apache.hadoop.gateway.shell.job.Job;
> public class TestSqoop {
>   public static void main( String[] args ) {
> try {
>   Hadoop session = Hadoop.login( "test", "test", "test" );
>   String text = Job.submitSqoop( session ).command( "test command" 
> ).libdir( "libdir" ).now().getString();
>   session.shutdown();
> } catch ( Exception e ) {
>   e.printStackTrace();
> }
>   }
> }
> {code}
> It results in the following errors:
> {code}
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,47] 
> command(java.lang.String) in 
> org.apache.hadoop.gateway.shell.job.Sqoop.Request is defined in an 
> inaccessible class or interface
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,73] 
> libdir(java.lang.String) in org.apache.hadoop.gateway.shell.job.Sqoop.Request 
> is defined in an inaccessible class or interface
> [ERROR] 
> /home/andrei/knox-sqoop/src/main/java/test/knox/sqoop/TestSqoop.java:[10,92] 
> now() in org.apache.hadoop.gateway.shell.AbstractRequest is defined in an 
> inaccessible class or interface
> [INFO] 3 errors
> {code}
> The Request class needs to be made public.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)