You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Bennett Neale <be...@gmail.com> on 2010/11/10 08:56:49 UTC

Review Request: HBASE-3161 Provide option for Stargate to only serve GET requests

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/1204/
-----------------------------------------------------------

Review request for hbase.


Summary
-------

Provided an option to pass a "read-only" argument when starting up the REST server based on the comments provided by apurtell.  Server will only honor GET HTTP method requests in this mode.  Also added "hbase.rest.port" and "hbase.rest.readonly" to the config hbase-default.xml and updated test cases.  


apurtell -- "Add a helper function to RestServlet that checks the configuration, i.e. RestServlet#isReadOnly and use it to do a check at the top of methods tagged with @PUT or @POST, or the common functions they call out to, and if read only do throw new WebApplicationException(Response.Status.FORBIDDEN)."


This addresses bug HBASE-3161.
    http://issues.apache.org/jira/browse/HBASE-3161


Diffs
-----

  /trunk/src/main/java/org/apache/hadoop/hbase/rest/Constants.java 1033370 
  /trunk/src/main/java/org/apache/hadoop/hbase/rest/Main.java 1033370 
  /trunk/src/main/java/org/apache/hadoop/hbase/rest/RESTServlet.java 1033370 
  /trunk/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java 1033370 
  /trunk/src/main/java/org/apache/hadoop/hbase/rest/ScannerInstanceResource.java 1033370 
  /trunk/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java 1033370 
  /trunk/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java 1033370 
  /trunk/src/main/resources/hbase-default.xml 1033370 
  /trunk/src/test/java/org/apache/hadoop/hbase/rest/TestRowResource.java 1033370 
  /trunk/src/test/java/org/apache/hadoop/hbase/rest/TestScannerResource.java 1033370 
  /trunk/src/test/java/org/apache/hadoop/hbase/rest/TestSchemaResource.java 1033370 

Diff: http://review.cloudera.org/r/1204/diff


Testing
-------


Thanks,

Bennett


Re: Review Request: HBASE-3161 Provide option for Stargate to only serve GET requests

Posted by Bennett Neale <be...@gmail.com>.

> On 2010-11-10 08:34:06, stack wrote:
> > This patch looks great to me.  Andrew or Ted, you want to take a look?  Bennett do all hbase tests pass locally for you?

Tests pass locally, already see you committed.  Cool.  :)


- Bennett


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/1204/#review1885
-----------------------------------------------------------


On 2010-11-09 23:56:49, Bennett Neale wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://review.cloudera.org/r/1204/
> -----------------------------------------------------------
> 
> (Updated 2010-11-09 23:56:49)
> 
> 
> Review request for hbase.
> 
> 
> Summary
> -------
> 
> Provided an option to pass a "read-only" argument when starting up the REST server based on the comments provided by apurtell.  Server will only honor GET HTTP method requests in this mode.  Also added "hbase.rest.port" and "hbase.rest.readonly" to the config hbase-default.xml and updated test cases.  
> 
> 
> apurtell -- "Add a helper function to RestServlet that checks the configuration, i.e. RestServlet#isReadOnly and use it to do a check at the top of methods tagged with @PUT or @POST, or the common functions they call out to, and if read only do throw new WebApplicationException(Response.Status.FORBIDDEN)."
> 
> 
> This addresses bug HBASE-3161.
>     http://issues.apache.org/jira/browse/HBASE-3161
> 
> 
> Diffs
> -----
> 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/Constants.java 1033370 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/Main.java 1033370 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/RESTServlet.java 1033370 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java 1033370 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/ScannerInstanceResource.java 1033370 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java 1033370 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java 1033370 
>   /trunk/src/main/resources/hbase-default.xml 1033370 
>   /trunk/src/test/java/org/apache/hadoop/hbase/rest/TestRowResource.java 1033370 
>   /trunk/src/test/java/org/apache/hadoop/hbase/rest/TestScannerResource.java 1033370 
>   /trunk/src/test/java/org/apache/hadoop/hbase/rest/TestSchemaResource.java 1033370 
> 
> Diff: http://review.cloudera.org/r/1204/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Bennett
> 
>


Re: Review Request: HBASE-3161 Provide option for Stargate to only serve GET requests

Posted by st...@duboce.net.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/1204/#review1885
-----------------------------------------------------------

Ship it!


This patch looks great to me.  Andrew or Ted, you want to take a look?  Bennett do all hbase tests pass locally for you?

- stack


On 2010-11-09 23:56:49, Bennett Neale wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://review.cloudera.org/r/1204/
> -----------------------------------------------------------
> 
> (Updated 2010-11-09 23:56:49)
> 
> 
> Review request for hbase.
> 
> 
> Summary
> -------
> 
> Provided an option to pass a "read-only" argument when starting up the REST server based on the comments provided by apurtell.  Server will only honor GET HTTP method requests in this mode.  Also added "hbase.rest.port" and "hbase.rest.readonly" to the config hbase-default.xml and updated test cases.  
> 
> 
> apurtell -- "Add a helper function to RestServlet that checks the configuration, i.e. RestServlet#isReadOnly and use it to do a check at the top of methods tagged with @PUT or @POST, or the common functions they call out to, and if read only do throw new WebApplicationException(Response.Status.FORBIDDEN)."
> 
> 
> This addresses bug HBASE-3161.
>     http://issues.apache.org/jira/browse/HBASE-3161
> 
> 
> Diffs
> -----
> 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/Constants.java 1033370 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/Main.java 1033370 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/RESTServlet.java 1033370 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java 1033370 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/ScannerInstanceResource.java 1033370 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/ScannerResource.java 1033370 
>   /trunk/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java 1033370 
>   /trunk/src/main/resources/hbase-default.xml 1033370 
>   /trunk/src/test/java/org/apache/hadoop/hbase/rest/TestRowResource.java 1033370 
>   /trunk/src/test/java/org/apache/hadoop/hbase/rest/TestScannerResource.java 1033370 
>   /trunk/src/test/java/org/apache/hadoop/hbase/rest/TestSchemaResource.java 1033370 
> 
> Diff: http://review.cloudera.org/r/1204/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Bennett
> 
>


Re: Problem with trunk compilation

Posted by Stack <st...@duboce.net>.
Sebastian (and all):

Sorry for breaking build last night.

Yours in ashes and sackcloth,
St.Ack

On Wed, Nov 10, 2010 at 1:59 AM, Sebastian Bauer <ad...@ugame.net.pl> wrote:
> or about 6pm here :)
>
> W dniu 10.11.2010 10:54, Ryan Rawson pisze:
>> He'll fix it asap, which will be tomorrow morning. It is 2 am :)
>> On Nov 10, 2010 1:53 AM, "Sebastian Bauer" <ad...@ugame.net.pl> wrote:
>>> After checking subversion history stack changed this:
>>>
>>> /** {@inheritDoc} */
>>> public HRegionInfo[] getRegionsAssignment() throws IOException {
>>>
>>> to this:
>>>
>>> @Override
>>> public HRegionInfo[] getRegionsAssignment() throws IOException {
>>>
>>> after reverting this change i can build sources again
>>>
>>> W dniu 10.11.2010 11:38, Sebastian Bauer pisze:
>>>> Hudson have problem too:
>>>> https://hudson.apache.org/hudson/job/HBase-TRUNK/1641/console
>>>>
>>>> W dniu 10.11.2010 09:54, Sebastian Bauer pisze:
>>>>> I have gentoo with main java version:
>>>>> # java -version
>>>>> java version "1.6.0_22"
>>>>> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
>>>>> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
>>>>>
>>>>>
>>>>> W dniu 10.11.2010 09:47, Ryan Rawson pisze:
>>>>>> hudson has no problems?
>>>>>>
>>>>>> are you sure you hava a java6 system?
>>>>>>
>>>>>> On Wed, Nov 10, 2010 at 1:40 AM, Sebastian Bauer <ad...@ugame.net.pl>
>> wrote:
>>>>>>> revision: 1033390
>>>>>>>
>>>>>>> [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @
>>>>>>> hbase ---
>>>>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>>>>> [INFO] Copying 1 resource
>>>>>>> [INFO] Copying 6 resources
>>>>>>> [INFO] Copying 3 resources
>>>>>>> [INFO]
>>>>>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
>> hbase ---
>>>>>>> [INFO] Compiling 170 source files to
>> /home/hbase_trunk/hbase/target/classes
>>>>>>> [INFO]
>>>>>>>
>>>>>>> [INFO]
>>>>>>>
>> ------------------------------------------------------------------------
>>>>>>> [INFO] Skipping HBase
>>>>>>> [INFO] This project has been banned from the build due to previous
>> failures.
>>>>>>> [INFO]
>>>>>>>
>> ------------------------------------------------------------------------
>>>>>>> [INFO]
>>>>>>>
>> ------------------------------------------------------------------------
>>>>>>> [INFO] BUILD FAILURE
>>>>>>> [INFO]
>>>>>>>
>> ------------------------------------------------------------------------
>>>>>>> [INFO] Total time: 11.725s
>>>>>>> [INFO] Finished at: Wed Nov 10 10:18:32 CET 2010
>>>>>>> [INFO] Final Memory: 29M/288M
>>>>>>> [INFO]
>>>>>>>
>> ------------------------------------------------------------------------
>>>>>>> [ERROR] Failed to execute goal
>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>>>>> (default-compile) on project hbase: Compilation failure
>>>>>>> [ERROR]
>>>>>>>
>> /home/hbase_trunk/hbase/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java:[2376,2]
>>>>>>> method does not override or implement a method from a supertype
>>>>>>> [ERROR] -> [Help 1]
>>>>>>> [ERROR]
>>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>> the
>>>>>>> -e switch.
>>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>>>>> [ERROR]
>>>>>>> [ERROR] For more information about the errors and possible solutions,
>>>>>>> please read the following articles:
>>>>>>> [ERROR] [Help 1]
>>>>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Pozdrawiam
>>>>>>> Sebastian Bauer
>>>>>>> -----------------------------------------------------
>>>>>>> http://tikecik.pl
>>>>>>>
>>>>>>>
>>>
>>> --
>>>
>>> Pozdrawiam
>>> Sebastian Bauer
>>> -----------------------------------------------------
>>> http://tikecik.pl
>>>
>
>
> --
>
> Pozdrawiam
> Sebastian Bauer
> -----------------------------------------------------
> http://tikecik.pl
>
>

Re: Problem with trunk compilation

Posted by Sebastian Bauer <ad...@ugame.net.pl>.
or about 6pm here :)

W dniu 10.11.2010 10:54, Ryan Rawson pisze:
> He'll fix it asap, which will be tomorrow morning. It is 2 am :)
> On Nov 10, 2010 1:53 AM, "Sebastian Bauer" <ad...@ugame.net.pl> wrote:
>> After checking subversion history stack changed this:
>>
>> /** {@inheritDoc} */
>> public HRegionInfo[] getRegionsAssignment() throws IOException {
>>
>> to this:
>>
>> @Override
>> public HRegionInfo[] getRegionsAssignment() throws IOException {
>>
>> after reverting this change i can build sources again
>>
>> W dniu 10.11.2010 11:38, Sebastian Bauer pisze:
>>> Hudson have problem too:
>>> https://hudson.apache.org/hudson/job/HBase-TRUNK/1641/console
>>>
>>> W dniu 10.11.2010 09:54, Sebastian Bauer pisze:
>>>> I have gentoo with main java version:
>>>> # java -version
>>>> java version "1.6.0_22"
>>>> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
>>>> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
>>>>
>>>>
>>>> W dniu 10.11.2010 09:47, Ryan Rawson pisze:
>>>>> hudson has no problems?
>>>>>
>>>>> are you sure you hava a java6 system?
>>>>>
>>>>> On Wed, Nov 10, 2010 at 1:40 AM, Sebastian Bauer <ad...@ugame.net.pl>
> wrote:
>>>>>> revision: 1033390
>>>>>>
>>>>>> [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @
>>>>>> hbase ---
>>>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>>>> [INFO] Copying 1 resource
>>>>>> [INFO] Copying 6 resources
>>>>>> [INFO] Copying 3 resources
>>>>>> [INFO]
>>>>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
> hbase ---
>>>>>> [INFO] Compiling 170 source files to
> /home/hbase_trunk/hbase/target/classes
>>>>>> [INFO]
>>>>>>
>>>>>> [INFO]
>>>>>>
> ------------------------------------------------------------------------
>>>>>> [INFO] Skipping HBase
>>>>>> [INFO] This project has been banned from the build due to previous
> failures.
>>>>>> [INFO]
>>>>>>
> ------------------------------------------------------------------------
>>>>>> [INFO]
>>>>>>
> ------------------------------------------------------------------------
>>>>>> [INFO] BUILD FAILURE
>>>>>> [INFO]
>>>>>>
> ------------------------------------------------------------------------
>>>>>> [INFO] Total time: 11.725s
>>>>>> [INFO] Finished at: Wed Nov 10 10:18:32 CET 2010
>>>>>> [INFO] Final Memory: 29M/288M
>>>>>> [INFO]
>>>>>>
> ------------------------------------------------------------------------
>>>>>> [ERROR] Failed to execute goal
>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>>>> (default-compile) on project hbase: Compilation failure
>>>>>> [ERROR]
>>>>>>
> /home/hbase_trunk/hbase/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java:[2376,2]
>>>>>> method does not override or implement a method from a supertype
>>>>>> [ERROR] -> [Help 1]
>>>>>> [ERROR]
>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the
>>>>>> -e switch.
>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>>>> [ERROR]
>>>>>> [ERROR] For more information about the errors and possible solutions,
>>>>>> please read the following articles:
>>>>>> [ERROR] [Help 1]
>>>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Pozdrawiam
>>>>>> Sebastian Bauer
>>>>>> -----------------------------------------------------
>>>>>> http://tikecik.pl
>>>>>>
>>>>>>
>>
>> --
>>
>> Pozdrawiam
>> Sebastian Bauer
>> -----------------------------------------------------
>> http://tikecik.pl
>>


-- 

Pozdrawiam
Sebastian Bauer
-----------------------------------------------------
http://tikecik.pl


Re: Problem with trunk compilation

Posted by Ryan Rawson <ry...@gmail.com>.
He'll fix it asap, which will be tomorrow morning. It is 2 am :)
On Nov 10, 2010 1:53 AM, "Sebastian Bauer" <ad...@ugame.net.pl> wrote:
> After checking subversion history stack changed this:
>
> /** {@inheritDoc} */
> public HRegionInfo[] getRegionsAssignment() throws IOException {
>
> to this:
>
> @Override
> public HRegionInfo[] getRegionsAssignment() throws IOException {
>
> after reverting this change i can build sources again
>
> W dniu 10.11.2010 11:38, Sebastian Bauer pisze:
>> Hudson have problem too:
>> https://hudson.apache.org/hudson/job/HBase-TRUNK/1641/console
>>
>> W dniu 10.11.2010 09:54, Sebastian Bauer pisze:
>>> I have gentoo with main java version:
>>> # java -version
>>> java version "1.6.0_22"
>>> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
>>> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
>>>
>>>
>>> W dniu 10.11.2010 09:47, Ryan Rawson pisze:
>>>> hudson has no problems?
>>>>
>>>> are you sure you hava a java6 system?
>>>>
>>>> On Wed, Nov 10, 2010 at 1:40 AM, Sebastian Bauer <ad...@ugame.net.pl>
wrote:
>>>>> revision: 1033390
>>>>>
>>>>> [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @
>>>>> hbase ---
>>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>>> [INFO] Copying 1 resource
>>>>> [INFO] Copying 6 resources
>>>>> [INFO] Copying 3 resources
>>>>> [INFO]
>>>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
hbase ---
>>>>> [INFO] Compiling 170 source files to
/home/hbase_trunk/hbase/target/classes
>>>>> [INFO]
>>>>>
>>>>> [INFO]
>>>>>
------------------------------------------------------------------------
>>>>> [INFO] Skipping HBase
>>>>> [INFO] This project has been banned from the build due to previous
failures.
>>>>> [INFO]
>>>>>
------------------------------------------------------------------------
>>>>> [INFO]
>>>>>
------------------------------------------------------------------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO]
>>>>>
------------------------------------------------------------------------
>>>>> [INFO] Total time: 11.725s
>>>>> [INFO] Finished at: Wed Nov 10 10:18:32 CET 2010
>>>>> [INFO] Final Memory: 29M/288M
>>>>> [INFO]
>>>>>
------------------------------------------------------------------------
>>>>> [ERROR] Failed to execute goal
>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>>> (default-compile) on project hbase: Compilation failure
>>>>> [ERROR]
>>>>>
/home/hbase_trunk/hbase/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java:[2376,2]
>>>>> method does not override or implement a method from a supertype
>>>>> [ERROR] -> [Help 1]
>>>>> [ERROR]
>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
the
>>>>> -e switch.
>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>>> [ERROR]
>>>>> [ERROR] For more information about the errors and possible solutions,
>>>>> please read the following articles:
>>>>> [ERROR] [Help 1]
>>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>>>>
>>>>> --
>>>>>
>>>>> Pozdrawiam
>>>>> Sebastian Bauer
>>>>> -----------------------------------------------------
>>>>> http://tikecik.pl
>>>>>
>>>>>
>>
>
>
> --
>
> Pozdrawiam
> Sebastian Bauer
> -----------------------------------------------------
> http://tikecik.pl
>

Re: Problem with trunk compilation

Posted by Sebastian Bauer <ad...@ugame.net.pl>.
After checking subversion history stack changed this:

/** {@inheritDoc} */
  public HRegionInfo[] getRegionsAssignment() throws IOException {

to this:

@Override
  public HRegionInfo[] getRegionsAssignment() throws IOException {

after reverting this change i can build sources again

W dniu 10.11.2010 11:38, Sebastian Bauer pisze:
> Hudson have problem too:
> https://hudson.apache.org/hudson/job/HBase-TRUNK/1641/console
>
> W dniu 10.11.2010 09:54, Sebastian Bauer pisze:
>> I have gentoo with main java version:
>> # java -version
>> java version "1.6.0_22"
>> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
>> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
>>
>>
>> W dniu 10.11.2010 09:47, Ryan Rawson pisze:
>>> hudson has no problems?
>>>
>>> are you sure you hava a java6 system?
>>>
>>> On Wed, Nov 10, 2010 at 1:40 AM, Sebastian Bauer <ad...@ugame.net.pl> wrote:
>>>> revision: 1033390
>>>>
>>>> [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @
>>>> hbase ---
>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] Copying 1 resource
>>>> [INFO] Copying 6 resources
>>>> [INFO] Copying 3 resources
>>>> [INFO]
>>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ hbase ---
>>>> [INFO] Compiling 170 source files to /home/hbase_trunk/hbase/target/classes
>>>> [INFO]
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Skipping HBase
>>>> [INFO] This project has been banned from the build due to previous failures.
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 11.725s
>>>> [INFO] Finished at: Wed Nov 10 10:18:32 CET 2010
>>>> [INFO] Final Memory: 29M/288M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>>> (default-compile) on project hbase: Compilation failure
>>>> [ERROR]
>>>> /home/hbase_trunk/hbase/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java:[2376,2]
>>>> method does not override or implement a method from a supertype
>>>> [ERROR] -> [Help 1]
>>>> [ERROR]
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>>> -e switch.
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>> [ERROR]
>>>> [ERROR] For more information about the errors and possible solutions,
>>>> please read the following articles:
>>>> [ERROR] [Help 1]
>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>>>
>>>> --
>>>>
>>>> Pozdrawiam
>>>> Sebastian Bauer
>>>> -----------------------------------------------------
>>>> http://tikecik.pl
>>>>
>>>>
>


-- 

Pozdrawiam
Sebastian Bauer
-----------------------------------------------------
http://tikecik.pl


Re: Problem with trunk compilation

Posted by Sebastian Bauer <ad...@ugame.net.pl>.
Hudson have problem too:
https://hudson.apache.org/hudson/job/HBase-TRUNK/1641/console

W dniu 10.11.2010 09:54, Sebastian Bauer pisze:
> I have gentoo with main java version:
> # java -version
> java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
>
>
> W dniu 10.11.2010 09:47, Ryan Rawson pisze:
>> hudson has no problems?
>>
>> are you sure you hava a java6 system?
>>
>> On Wed, Nov 10, 2010 at 1:40 AM, Sebastian Bauer <ad...@ugame.net.pl> wrote:
>>> revision: 1033390
>>>
>>> [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @
>>> hbase ---
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] Copying 1 resource
>>> [INFO] Copying 6 resources
>>> [INFO] Copying 3 resources
>>> [INFO]
>>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ hbase ---
>>> [INFO] Compiling 170 source files to /home/hbase_trunk/hbase/target/classes
>>> [INFO]
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Skipping HBase
>>> [INFO] This project has been banned from the build due to previous failures.
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 11.725s
>>> [INFO] Finished at: Wed Nov 10 10:18:32 CET 2010
>>> [INFO] Final Memory: 29M/288M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>>> (default-compile) on project hbase: Compilation failure
>>> [ERROR]
>>> /home/hbase_trunk/hbase/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java:[2376,2]
>>> method does not override or implement a method from a supertype
>>> [ERROR] -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>>
>>> --
>>>
>>> Pozdrawiam
>>> Sebastian Bauer
>>> -----------------------------------------------------
>>> http://tikecik.pl
>>>
>>>
>


-- 

Pozdrawiam
Sebastian Bauer
-----------------------------------------------------
http://tikecik.pl


Re: Problem with trunk compilation

Posted by Sebastian Bauer <ad...@ugame.net.pl>.
I have gentoo with main java version:
# java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)


W dniu 10.11.2010 09:47, Ryan Rawson pisze:
> hudson has no problems?
>
> are you sure you hava a java6 system?
>
> On Wed, Nov 10, 2010 at 1:40 AM, Sebastian Bauer <ad...@ugame.net.pl> wrote:
>> revision: 1033390
>>
>> [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @
>> hbase ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 1 resource
>> [INFO] Copying 6 resources
>> [INFO] Copying 3 resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ hbase ---
>> [INFO] Compiling 170 source files to /home/hbase_trunk/hbase/target/classes
>> [INFO]
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Skipping HBase
>> [INFO] This project has been banned from the build due to previous failures.
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 11.725s
>> [INFO] Finished at: Wed Nov 10 10:18:32 CET 2010
>> [INFO] Final Memory: 29M/288M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>> (default-compile) on project hbase: Compilation failure
>> [ERROR]
>> /home/hbase_trunk/hbase/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java:[2376,2]
>> method does not override or implement a method from a supertype
>> [ERROR] -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>
>> --
>>
>> Pozdrawiam
>> Sebastian Bauer
>> -----------------------------------------------------
>> http://tikecik.pl
>>
>>


-- 

Pozdrawiam
Sebastian Bauer
-----------------------------------------------------
http://tikecik.pl


Re: Problem with trunk compilation

Posted by Ryan Rawson <ry...@gmail.com>.
hudson has no problems?

are you sure you hava a java6 system?

On Wed, Nov 10, 2010 at 1:40 AM, Sebastian Bauer <ad...@ugame.net.pl> wrote:
> revision: 1033390
>
> [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @
> hbase ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 6 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ hbase ---
> [INFO] Compiling 170 source files to /home/hbase_trunk/hbase/target/classes
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Skipping HBase
> [INFO] This project has been banned from the build due to previous failures.
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 11.725s
> [INFO] Finished at: Wed Nov 10 10:18:32 CET 2010
> [INFO] Final Memory: 29M/288M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
> (default-compile) on project hbase: Compilation failure
> [ERROR]
> /home/hbase_trunk/hbase/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java:[2376,2]
> method does not override or implement a method from a supertype
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
> --
>
> Pozdrawiam
> Sebastian Bauer
> -----------------------------------------------------
> http://tikecik.pl
>
>

Problem with trunk compilation

Posted by Sebastian Bauer <ad...@ugame.net.pl>.
revision: 1033390

[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @
hbase ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ hbase ---
[INFO] Compiling 170 source files to /home/hbase_trunk/hbase/target/classes
[INFO]                                                                        

[INFO]
------------------------------------------------------------------------
[INFO] Skipping HBase
[INFO] This project has been banned from the build due to previous failures.
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11.725s
[INFO] Finished at: Wed Nov 10 10:18:32 CET 2010
[INFO] Final Memory: 29M/288M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
(default-compile) on project hbase: Compilation failure
[ERROR]
/home/hbase_trunk/hbase/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java:[2376,2]
method does not override or implement a method from a supertype
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

-- 

Pozdrawiam
Sebastian Bauer
-----------------------------------------------------
http://tikecik.pl