You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Matthew Ward <ma...@imageshack.net> on 2011/05/23 20:41:41 UTC

Branch 0.90 Build Errors / Contributing

Hello,


I recently checkout out branch 0.90, noticing that eclipse is throwing up some red flags in the following files:

org.apache.hadoop.hbase.generated.master.master_jsp.java
	(Can't find class  org.apache.hadoop.hbase.master.MetaRegion  )

There's a few other files complaining about the same missing class:
org.apache.hadoop.hbase.generated.master.table_jsp.java
org.apache.hadoop.hbase.generated.master.zk_jsp.java

Also seeing regionserver_jsp.java complain about undefined functions in HRegionServer  (getSortedOnlineRegionInfos line 64) 

I set up my eclipse environment as instructed on the wiki, and I do admit I am primarily a PHP dev, havent touched java since college - so there can be some user error on my part :).



On a side  / related note: I am completely new to contributing to HBase, what is the process for committing code back? I did some work on an .89 branch that my company is using (Related to exposing the ColumnPaginationFilter in thrift), but git wouldn't let me commit code back. What branch should I start work off of for 'normal' contributions? (trunk / master)?


Thanks,
Matt

Re: Branch 0.90 Build Errors / Contributing

Posted by Ted Yu <yu...@gmail.com>.
After you attach patch to it, some committer would make you a contributor
after which you can assign tickets to yourself.

I don't see errors in ThriftServer.java when I open it in Eclipse.

You should have this line in .classpath:
  <classpathentry kind="var"
path="M2_REPO/org/apache/thrift/libthrift/0.6.1/libthrift-0.6.1.jar"/>

How did you generate Eclipse project ?

On Mon, May 23, 2011 at 12:11 PM, Matthew Ward <ma...@imageshack.net> wrote:

> Thanks!
>
> I checked out trunk, seems there is a whole new batch of build errors.  To
> name a few:
> ThriftServer.java line 948 (TNonblockingServer.Args cannot be resolved as
> type)
> ThriftServer.java line 956 (THsHaServer.Args cannot be resolved as type)
> ThriftServer.java line 988 (TThreadPoolServer.Args cannot be resolved as
> type)
>
> Is there a more stable branch I can start work off of?
>
> I created a ticket in Jira HBase-3913; would like to assign it to myself (
> matt.c.ward@gmail.com), don't think i have that permission.
>
>
>
> On May 23, 2011, at 11:48 AM, Ted Yu wrote:
>
> > Branch 0.90 is in maintenance mode. So more effort should be put into
> trunk.
> >
> > Todd has rewritten the JSPs in trunk. FYI
> >
> > Contributors log JIRAs and attach patch files to them. Commiters have the
> > permission to check them in.
> >
> > Refer to http://wiki.apache.org/hadoop/Hbase/HowToContribute
> >
> > On Mon, May 23, 2011 at 11:41 AM, Matthew Ward <ma...@imageshack.net>
> wrote:
> >
> >> Hello,
> >>
> >>
> >> I recently checkout out branch 0.90, noticing that eclipse is throwing
> up
> >> some red flags in the following files:
> >>
> >> org.apache.hadoop.hbase.generated.master.master_jsp.java
> >>       (Can't find class  org.apache.hadoop.hbase.master.MetaRegion  )
> >>
> >> There's a few other files complaining about the same missing class:
> >> org.apache.hadoop.hbase.generated.master.table_jsp.java
> >> org.apache.hadoop.hbase.generated.master.zk_jsp.java
> >>
> >> Also seeing regionserver_jsp.java complain about undefined functions in
> >> HRegionServer  (getSortedOnlineRegionInfos line 64)
> >>
> >> I set up my eclipse environment as instructed on the wiki, and I do
> admit I
> >> am primarily a PHP dev, havent touched java since college - so there can
> be
> >> some user error on my part :).
> >>
> >>
> >>
> >> On a side  / related note: I am completely new to contributing to HBase,
> >> what is the process for committing code back? I did some work on an .89
> >> branch that my company is using (Related to exposing the
> >> ColumnPaginationFilter in thrift), but git wouldn't let me commit code
> back.
> >> What branch should I start work off of for 'normal' contributions?
> (trunk /
> >> master)?
> >>
> >>
> >> Thanks,
> >> Matt
>
>

Re: Branch 0.90 Build Errors / Contributing

Posted by Matthew Ward <ma...@imageshack.net>.
Thanks!

I checked out trunk, seems there is a whole new batch of build errors.  To name a few:
ThriftServer.java line 948 (TNonblockingServer.Args cannot be resolved as type)
ThriftServer.java line 956 (THsHaServer.Args cannot be resolved as type)
ThriftServer.java line 988 (TThreadPoolServer.Args cannot be resolved as type)

Is there a more stable branch I can start work off of?

I created a ticket in Jira HBase-3913; would like to assign it to myself (matt.c.ward@gmail.com), don't think i have that permission.



On May 23, 2011, at 11:48 AM, Ted Yu wrote:

> Branch 0.90 is in maintenance mode. So more effort should be put into trunk.
> 
> Todd has rewritten the JSPs in trunk. FYI
> 
> Contributors log JIRAs and attach patch files to them. Commiters have the
> permission to check them in.
> 
> Refer to http://wiki.apache.org/hadoop/Hbase/HowToContribute
> 
> On Mon, May 23, 2011 at 11:41 AM, Matthew Ward <ma...@imageshack.net> wrote:
> 
>> Hello,
>> 
>> 
>> I recently checkout out branch 0.90, noticing that eclipse is throwing up
>> some red flags in the following files:
>> 
>> org.apache.hadoop.hbase.generated.master.master_jsp.java
>>       (Can't find class  org.apache.hadoop.hbase.master.MetaRegion  )
>> 
>> There's a few other files complaining about the same missing class:
>> org.apache.hadoop.hbase.generated.master.table_jsp.java
>> org.apache.hadoop.hbase.generated.master.zk_jsp.java
>> 
>> Also seeing regionserver_jsp.java complain about undefined functions in
>> HRegionServer  (getSortedOnlineRegionInfos line 64)
>> 
>> I set up my eclipse environment as instructed on the wiki, and I do admit I
>> am primarily a PHP dev, havent touched java since college - so there can be
>> some user error on my part :).
>> 
>> 
>> 
>> On a side  / related note: I am completely new to contributing to HBase,
>> what is the process for committing code back? I did some work on an .89
>> branch that my company is using (Related to exposing the
>> ColumnPaginationFilter in thrift), but git wouldn't let me commit code back.
>> What branch should I start work off of for 'normal' contributions? (trunk /
>> master)?
>> 
>> 
>> Thanks,
>> Matt


Re: Branch 0.90 Build Errors / Contributing

Posted by Ted Yu <yu...@gmail.com>.
Branch 0.90 is in maintenance mode. So more effort should be put into trunk.

Todd has rewritten the JSPs in trunk. FYI

Contributors log JIRAs and attach patch files to them. Commiters have the
permission to check them in.

Refer to http://wiki.apache.org/hadoop/Hbase/HowToContribute

On Mon, May 23, 2011 at 11:41 AM, Matthew Ward <ma...@imageshack.net> wrote:

> Hello,
>
>
> I recently checkout out branch 0.90, noticing that eclipse is throwing up
> some red flags in the following files:
>
> org.apache.hadoop.hbase.generated.master.master_jsp.java
>        (Can't find class  org.apache.hadoop.hbase.master.MetaRegion  )
>
> There's a few other files complaining about the same missing class:
> org.apache.hadoop.hbase.generated.master.table_jsp.java
> org.apache.hadoop.hbase.generated.master.zk_jsp.java
>
> Also seeing regionserver_jsp.java complain about undefined functions in
> HRegionServer  (getSortedOnlineRegionInfos line 64)
>
> I set up my eclipse environment as instructed on the wiki, and I do admit I
> am primarily a PHP dev, havent touched java since college - so there can be
> some user error on my part :).
>
>
>
> On a side  / related note: I am completely new to contributing to HBase,
> what is the process for committing code back? I did some work on an .89
> branch that my company is using (Related to exposing the
> ColumnPaginationFilter in thrift), but git wouldn't let me commit code back.
> What branch should I start work off of for 'normal' contributions? (trunk /
> master)?
>
>
> Thanks,
> Matt

Re: Branch 0.90 Build Errors / Contributing

Posted by Matthew Ward <ma...@imageshack.net>.
You guys are right. I mis configured maven path var. 


On May 23, 2011, at 12:33 PM, Jean-Daniel Cryans wrote:

> I took a look at master_jsp.java (which is generated during the build
> BTW, it isn't part of the repo) and it doesn't contain "MetaRegion". I
> think you've got some cleanup to do.
> 
> J-D
> 
> On Mon, May 23, 2011 at 11:41 AM, Matthew Ward <ma...@imageshack.net> wrote:
>> Hello,
>> 
>> 
>> I recently checkout out branch 0.90, noticing that eclipse is throwing up some red flags in the following files:
>> 
>> org.apache.hadoop.hbase.generated.master.master_jsp.java
>>        (Can't find class  org.apache.hadoop.hbase.master.MetaRegion  )
>> 
>> There's a few other files complaining about the same missing class:
>> org.apache.hadoop.hbase.generated.master.table_jsp.java
>> org.apache.hadoop.hbase.generated.master.zk_jsp.java
>> 
>> Also seeing regionserver_jsp.java complain about undefined functions in HRegionServer  (getSortedOnlineRegionInfos line 64)
>> 
>> I set up my eclipse environment as instructed on the wiki, and I do admit I am primarily a PHP dev, havent touched java since college - so there can be some user error on my part :).
>> 
>> 
>> 
>> On a side  / related note: I am completely new to contributing to HBase, what is the process for committing code back? I did some work on an .89 branch that my company is using (Related to exposing the ColumnPaginationFilter in thrift), but git wouldn't let me commit code back. What branch should I start work off of for 'normal' contributions? (trunk / master)?
>> 
>> 
>> Thanks,
>> Matt


Re: Branch 0.90 Build Errors / Contributing

Posted by Jean-Daniel Cryans <jd...@apache.org>.
I took a look at master_jsp.java (which is generated during the build
BTW, it isn't part of the repo) and it doesn't contain "MetaRegion". I
think you've got some cleanup to do.

J-D

On Mon, May 23, 2011 at 11:41 AM, Matthew Ward <ma...@imageshack.net> wrote:
> Hello,
>
>
> I recently checkout out branch 0.90, noticing that eclipse is throwing up some red flags in the following files:
>
> org.apache.hadoop.hbase.generated.master.master_jsp.java
>        (Can't find class  org.apache.hadoop.hbase.master.MetaRegion  )
>
> There's a few other files complaining about the same missing class:
> org.apache.hadoop.hbase.generated.master.table_jsp.java
> org.apache.hadoop.hbase.generated.master.zk_jsp.java
>
> Also seeing regionserver_jsp.java complain about undefined functions in HRegionServer  (getSortedOnlineRegionInfos line 64)
>
> I set up my eclipse environment as instructed on the wiki, and I do admit I am primarily a PHP dev, havent touched java since college - so there can be some user error on my part :).
>
>
>
> On a side  / related note: I am completely new to contributing to HBase, what is the process for committing code back? I did some work on an .89 branch that my company is using (Related to exposing the ColumnPaginationFilter in thrift), but git wouldn't let me commit code back. What branch should I start work off of for 'normal' contributions? (trunk / master)?
>
>
> Thanks,
> Matt