You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gregory Chanan (JIRA)" <ji...@apache.org> on 2012/09/19 03:39:07 UTC

[jira] [Created] (HBASE-6834) HBaseClusterManager shell code breaks hadoop-2.0 build

Gregory Chanan created HBASE-6834:
-------------------------------------

             Summary: HBaseClusterManager shell code breaks hadoop-2.0 build
                 Key: HBASE-6834
                 URL: https://issues.apache.org/jira/browse/HBASE-6834
             Project: HBase
          Issue Type: Bug
            Reporter: Gregory Chanan


I get the following error:
{noformat}
HBaseClusterManager.java:[73,23] getExecString() in org.apache.hadoop.hbase.HBaseClusterManager.RemoteShell cannot override getExecString() in org.apache.hadoop.util.Shell.ShellCommandExecutor; attempting to assign weaker access privileges; was public
{noformat}

the issue is that getExecString() is declared public in hadoop-2.0, but protected in hadoop-1.0.  In HBase, it is declared protected, and you can't downgrade from public to protected.

We can just declare the function public and that seems to work, but given that in hadoop the class is declared
{code}
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
{code}
perhaps we should just copy the class into hbase source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (HBASE-6834) HBaseClusterManager shell code breaks hadoop-2.0 build

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-6834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-6834.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.96.0
     Hadoop Flags: Reviewed

Committed to trunk.  Thanks Enis and G.
                
> HBaseClusterManager shell code breaks hadoop-2.0 build
> ------------------------------------------------------
>
>                 Key: HBASE-6834
>                 URL: https://issues.apache.org/jira/browse/HBASE-6834
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Gregory Chanan
>            Assignee: Enis Soztutar
>             Fix For: 0.96.0
>
>         Attachments: hbase-6834_v1.patch
>
>
> I get the following error:
> {noformat}
> HBaseClusterManager.java:[73,23] getExecString() in org.apache.hadoop.hbase.HBaseClusterManager.RemoteShell cannot override getExecString() in org.apache.hadoop.util.Shell.ShellCommandExecutor; attempting to assign weaker access privileges; was public
> {noformat}
> the issue is that getExecString() is declared public in hadoop-2.0, but protected in hadoop-1.0.  In HBase, it is declared protected, and you can't downgrade from public to protected.
> We can just declare the function public and that seems to work, but given that in hadoop the class is declared
> {code}
> @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
> {code}
> perhaps we should just copy the class into hbase source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HBASE-6834) HBaseClusterManager shell code breaks hadoop-2.0 build

Posted by "Gregory Chanan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458402#comment-13458402 ] 

Gregory Chanan commented on HBASE-6834:
---------------------------------------

+1
                
> HBaseClusterManager shell code breaks hadoop-2.0 build
> ------------------------------------------------------
>
>                 Key: HBASE-6834
>                 URL: https://issues.apache.org/jira/browse/HBASE-6834
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Gregory Chanan
>            Assignee: Enis Soztutar
>         Attachments: hbase-6834_v1.patch
>
>
> I get the following error:
> {noformat}
> HBaseClusterManager.java:[73,23] getExecString() in org.apache.hadoop.hbase.HBaseClusterManager.RemoteShell cannot override getExecString() in org.apache.hadoop.util.Shell.ShellCommandExecutor; attempting to assign weaker access privileges; was public
> {noformat}
> the issue is that getExecString() is declared public in hadoop-2.0, but protected in hadoop-1.0.  In HBase, it is declared protected, and you can't downgrade from public to protected.
> We can just declare the function public and that seems to work, but given that in hadoop the class is declared
> {code}
> @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
> {code}
> perhaps we should just copy the class into hbase source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HBASE-6834) HBaseClusterManager shell code breaks hadoop-2.0 build

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458463#comment-13458463 ] 

Hudson commented on HBASE-6834:
-------------------------------

Integrated in HBase-TRUNK #3352 (See [https://builds.apache.org/job/HBase-TRUNK/3352/])
    HBASE-6834 HBaseClusterManager shell code breaks hadoop-2.0 build (Revision 1387458)

     Result = FAILURE
stack : 
Files : 
* /hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java

                
> HBaseClusterManager shell code breaks hadoop-2.0 build
> ------------------------------------------------------
>
>                 Key: HBASE-6834
>                 URL: https://issues.apache.org/jira/browse/HBASE-6834
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Gregory Chanan
>            Assignee: Enis Soztutar
>             Fix For: 0.96.0
>
>         Attachments: hbase-6834_v1.patch
>
>
> I get the following error:
> {noformat}
> HBaseClusterManager.java:[73,23] getExecString() in org.apache.hadoop.hbase.HBaseClusterManager.RemoteShell cannot override getExecString() in org.apache.hadoop.util.Shell.ShellCommandExecutor; attempting to assign weaker access privileges; was public
> {noformat}
> the issue is that getExecString() is declared public in hadoop-2.0, but protected in hadoop-1.0.  In HBase, it is declared protected, and you can't downgrade from public to protected.
> We can just declare the function public and that seems to work, but given that in hadoop the class is declared
> {code}
> @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
> {code}
> perhaps we should just copy the class into hbase source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HBASE-6834) HBaseClusterManager shell code breaks hadoop-2.0 build

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-6834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Enis Soztutar updated HBASE-6834:
---------------------------------

    Attachment: hbase-6834_v1.patch

Attaching a one liner. 
{code}
MAVEN_OPTS=-Xmx1024m mvn clean install -DskipTests -Dhadoop.profile=2.0 -Dhadoop.version=2.0.1-alpha
{code}
seems to work. 

                
> HBaseClusterManager shell code breaks hadoop-2.0 build
> ------------------------------------------------------
>
>                 Key: HBASE-6834
>                 URL: https://issues.apache.org/jira/browse/HBASE-6834
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Gregory Chanan
>            Assignee: Enis Soztutar
>         Attachments: hbase-6834_v1.patch
>
>
> I get the following error:
> {noformat}
> HBaseClusterManager.java:[73,23] getExecString() in org.apache.hadoop.hbase.HBaseClusterManager.RemoteShell cannot override getExecString() in org.apache.hadoop.util.Shell.ShellCommandExecutor; attempting to assign weaker access privileges; was public
> {noformat}
> the issue is that getExecString() is declared public in hadoop-2.0, but protected in hadoop-1.0.  In HBase, it is declared protected, and you can't downgrade from public to protected.
> We can just declare the function public and that seems to work, but given that in hadoop the class is declared
> {code}
> @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
> {code}
> perhaps we should just copy the class into hbase source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (HBASE-6834) HBaseClusterManager shell code breaks hadoop-2.0 build

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-6834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Enis Soztutar reassigned HBASE-6834:
------------------------------------

    Assignee: Enis Soztutar
    
> HBaseClusterManager shell code breaks hadoop-2.0 build
> ------------------------------------------------------
>
>                 Key: HBASE-6834
>                 URL: https://issues.apache.org/jira/browse/HBASE-6834
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Gregory Chanan
>            Assignee: Enis Soztutar
>
> I get the following error:
> {noformat}
> HBaseClusterManager.java:[73,23] getExecString() in org.apache.hadoop.hbase.HBaseClusterManager.RemoteShell cannot override getExecString() in org.apache.hadoop.util.Shell.ShellCommandExecutor; attempting to assign weaker access privileges; was public
> {noformat}
> the issue is that getExecString() is declared public in hadoop-2.0, but protected in hadoop-1.0.  In HBase, it is declared protected, and you can't downgrade from public to protected.
> We can just declare the function public and that seems to work, but given that in hadoop the class is declared
> {code}
> @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
> {code}
> perhaps we should just copy the class into hbase source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HBASE-6834) HBaseClusterManager shell code breaks hadoop-2.0 build

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458347#comment-13458347 ] 

Enis Soztutar commented on HBASE-6834:
--------------------------------------

Thanks for spotting this. I'll provide a patch for changing the signature. 
                
> HBaseClusterManager shell code breaks hadoop-2.0 build
> ------------------------------------------------------
>
>                 Key: HBASE-6834
>                 URL: https://issues.apache.org/jira/browse/HBASE-6834
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Gregory Chanan
>            Assignee: Enis Soztutar
>
> I get the following error:
> {noformat}
> HBaseClusterManager.java:[73,23] getExecString() in org.apache.hadoop.hbase.HBaseClusterManager.RemoteShell cannot override getExecString() in org.apache.hadoop.util.Shell.ShellCommandExecutor; attempting to assign weaker access privileges; was public
> {noformat}
> the issue is that getExecString() is declared public in hadoop-2.0, but protected in hadoop-1.0.  In HBase, it is declared protected, and you can't downgrade from public to protected.
> We can just declare the function public and that seems to work, but given that in hadoop the class is declared
> {code}
> @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
> {code}
> perhaps we should just copy the class into hbase source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HBASE-6834) HBaseClusterManager shell code breaks hadoop-2.0 build

Posted by "Enis Soztutar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458357#comment-13458357 ] 

Enis Soztutar commented on HBASE-6834:
--------------------------------------

Shell and ShellCommandExecutor are non-trivial classes. I am not sure we should just copy them. If we run into this kind of problems in the future, we might develop our own, or maybe use the shims layer. wdyt? 
                
> HBaseClusterManager shell code breaks hadoop-2.0 build
> ------------------------------------------------------
>
>                 Key: HBASE-6834
>                 URL: https://issues.apache.org/jira/browse/HBASE-6834
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Gregory Chanan
>            Assignee: Enis Soztutar
>
> I get the following error:
> {noformat}
> HBaseClusterManager.java:[73,23] getExecString() in org.apache.hadoop.hbase.HBaseClusterManager.RemoteShell cannot override getExecString() in org.apache.hadoop.util.Shell.ShellCommandExecutor; attempting to assign weaker access privileges; was public
> {noformat}
> the issue is that getExecString() is declared public in hadoop-2.0, but protected in hadoop-1.0.  In HBase, it is declared protected, and you can't downgrade from public to protected.
> We can just declare the function public and that seems to work, but given that in hadoop the class is declared
> {code}
> @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
> {code}
> perhaps we should just copy the class into hbase source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HBASE-6834) HBaseClusterManager shell code breaks hadoop-2.0 build

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458367#comment-13458367 ] 

stack commented on HBASE-6834:
------------------------------

+1 on the patch.  What you think Gregory (Given its a one liner maybe we put off pulling in the Shell* classes?)
                
> HBaseClusterManager shell code breaks hadoop-2.0 build
> ------------------------------------------------------
>
>                 Key: HBASE-6834
>                 URL: https://issues.apache.org/jira/browse/HBASE-6834
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Gregory Chanan
>            Assignee: Enis Soztutar
>         Attachments: hbase-6834_v1.patch
>
>
> I get the following error:
> {noformat}
> HBaseClusterManager.java:[73,23] getExecString() in org.apache.hadoop.hbase.HBaseClusterManager.RemoteShell cannot override getExecString() in org.apache.hadoop.util.Shell.ShellCommandExecutor; attempting to assign weaker access privileges; was public
> {noformat}
> the issue is that getExecString() is declared public in hadoop-2.0, but protected in hadoop-1.0.  In HBase, it is declared protected, and you can't downgrade from public to protected.
> We can just declare the function public and that seems to work, but given that in hadoop the class is declared
> {code}
> @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
> {code}
> perhaps we should just copy the class into hbase source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HBASE-6834) HBaseClusterManager shell code breaks hadoop-2.0 build

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458592#comment-13458592 ] 

Hudson commented on HBASE-6834:
-------------------------------

Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #181 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/181/])
    HBASE-6834 HBaseClusterManager shell code breaks hadoop-2.0 build (Revision 1387458)

     Result = FAILURE
stack : 
Files : 
* /hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java

                
> HBaseClusterManager shell code breaks hadoop-2.0 build
> ------------------------------------------------------
>
>                 Key: HBASE-6834
>                 URL: https://issues.apache.org/jira/browse/HBASE-6834
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Gregory Chanan
>            Assignee: Enis Soztutar
>             Fix For: 0.96.0
>
>         Attachments: hbase-6834_v1.patch
>
>
> I get the following error:
> {noformat}
> HBaseClusterManager.java:[73,23] getExecString() in org.apache.hadoop.hbase.HBaseClusterManager.RemoteShell cannot override getExecString() in org.apache.hadoop.util.Shell.ShellCommandExecutor; attempting to assign weaker access privileges; was public
> {noformat}
> the issue is that getExecString() is declared public in hadoop-2.0, but protected in hadoop-1.0.  In HBase, it is declared protected, and you can't downgrade from public to protected.
> We can just declare the function public and that seems to work, but given that in hadoop the class is declared
> {code}
> @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
> {code}
> perhaps we should just copy the class into hbase source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HBASE-6834) HBaseClusterManager shell code breaks hadoop-2.0 build

Posted by "Gregory Chanan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-6834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458351#comment-13458351 ] 

Gregory Chanan commented on HBASE-6834:
---------------------------------------

you think we should just change the signature, not bring in the class?
                
> HBaseClusterManager shell code breaks hadoop-2.0 build
> ------------------------------------------------------
>
>                 Key: HBASE-6834
>                 URL: https://issues.apache.org/jira/browse/HBASE-6834
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Gregory Chanan
>            Assignee: Enis Soztutar
>
> I get the following error:
> {noformat}
> HBaseClusterManager.java:[73,23] getExecString() in org.apache.hadoop.hbase.HBaseClusterManager.RemoteShell cannot override getExecString() in org.apache.hadoop.util.Shell.ShellCommandExecutor; attempting to assign weaker access privileges; was public
> {noformat}
> the issue is that getExecString() is declared public in hadoop-2.0, but protected in hadoop-1.0.  In HBase, it is declared protected, and you can't downgrade from public to protected.
> We can just declare the function public and that seems to work, but given that in hadoop the class is declared
> {code}
> @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
> {code}
> perhaps we should just copy the class into hbase source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira