hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tobe <tobeg3oo...@gmail.com>
Subject Re: Error while HBase from source code
Date Fri, 22 Aug 2014 08:50:31 GMT
2.0.0-SNAPSHOT should be the version of Hadoop, not HBase.

Refer to the official guide http://hbase.apache.org/book/build.html, you
should run `mvn clean package -DskipTests` to compile.


On Fri, Aug 22, 2014 at 4:41 PM, @Sanjiv Singh <sanjiv.is.on@gmail.com>
wrote:

> HI,
> Here are details :
> HBase - 2.0.0-SNAPSHOT (current hbase-master)
> java version "1.7.0"
>
> Regards
> Sanjiv Singh
> Mob :  +091 9990-447-339
>
>
> On Fri, Aug 22, 2014 at 12:54 PM, tobe <tobeg3oogle@gmail.com> wrote:
>
>> What're the versions of java and hbase?
>>
>>
>> On Fri, Aug 22, 2014 at 2:41 PM, @Sanjiv Singh <sanjiv.is.on@gmail.com>
>> wrote:
>>
>>> Hi All,
>>> I just started Exploring HBase. I have downloaded Hbase master source
>>> code.
>>>  While i am trying to compile and build it locally,  it is giving me
>>> error
>>> missing some class and packages.
>>>
>>> From the source it looks like missing classes are actually not written in
>>> java.  but generated from other way around "RSStatusTmpl.jamon". Please
>>> help me on this to resolve the issue.
>>>
>>>
>>> >> mvn clean install -DskipTests
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 31.110 s
>>> [INFO] Finished at: 2014-08-22T12:00:25+05:30
>>> [INFO] Final Memory: 63M/408M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
>>> (default-compile) on project hbase-server: Compilation failure:
>>> Compilation
>>> failure:
>>> [ERROR]
>>>
>>> /home/impadmin/source-code/hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterStatusServlet.java:[36,42]
>>> error: package org.apache.hadoop.hbase.tmpl.master does not exist
>>> [ERROR]
>>>
>>> /home/impadmin/source-code/hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSStatusServlet.java:[29,48]
>>> error: package org.apache.hadoop.hbase.tmpl.regionserver does not exist
>>> [ERROR]
>>>
>>> /home/impadmin/source-code/hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterStatusServlet.java:[75,4]
>>> error: cannot find symbol
>>> [ERROR] symbol:   class MasterStatusTmpl
>>> [ERROR] location: class MasterStatusServlet
>>> [ERROR]
>>>
>>> /home/impadmin/source-code/hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterStatusServlet.java:[75,32]
>>> error: cannot find symbol
>>> [ERROR] symbol:   class MasterStatusTmpl
>>> [ERROR] location: class MasterStatusServlet
>>> [ERROR]
>>>
>>> /home/impadmin/source-code/hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSStatusServlet.java:[51,4]
>>> error: cannot find symbol
>>> [ERROR] symbol:   class RSStatusTmpl
>>> [ERROR] location: class RSStatusServlet
>>> [ERROR]
>>>
>>> /home/impadmin/source-code/hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSStatusServlet.java:[51,28]
>>> error: cannot find symbol
>>> [ERROR] -> [Help 1]
>>>
>>>
>>> Regards
>>> Sanjiv Singh
>>> Mob :  +091 9990-447-339
>>>
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message