Hi Matteo, I cleaned up all, started from scratch and followed all steps provided by you ...it worked this time without any issue.
I really don't know what was the issue. thank you very much for the help. i will move forward with this. Regards Sanjiv Singh Mob : +091 9990-447-339 On Fri, Aug 22, 2014 at 8:51 PM, @Sanjiv Singh <[email protected]> wrote: > my maven : > > $ mvn --version > > Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; > 2014-02-14T23:07:52+05:30) > Maven home: /usr/local/apache-maven/apache-maven-3.2.1 > Java version: 1.7.0, vendor: Oracle Corporation > Java home: /usr/java/jdk1.7.0/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "2.6.32-358.el6.x86_64", arch: "amd64", family: > "unix" > > > Regards > Sanjiv Singh > Mob : +091 9990-447-339 > > > On Fri, Aug 22, 2014 at 8:13 PM, Ted Yu <[email protected]> wrote: > >> jamon-maven-plugin is used to generate the XXTmpl.java files >> >> In a successful build, you would see: >> >> [INFO] Source directory: >> /Users/tyu/trunk/hbase-server/target/generated-jamon added. >> [INFO] Source directory: >> /Users/tyu/trunk/hbase-server/target/generated-sources/java added. >> [INFO] >> [INFO] --- jamon-maven-plugin:2.3.4:translate (default) @ hbase-server --- >> [INFO] Translating 10 templates from >> /Users/tyu/trunk/hbase-server/src/main/jamon to >> /Users/tyu/trunk/hbase-server/target/generated-jamon >> [INFO] >> >> What maven version are you using ? >> Here is the version I use: >> >> $ mvn --version >> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 >> 05:51:28-0800) >> Maven home: /Users/tyu/apache-maven-3.0.5 >> >> Cheers >> >> >> On Fri, Aug 22, 2014 at 1:57 AM, @Sanjiv Singh <[email protected]> >> wrote: >> >>> Thanks for quick response.. >>> >>> Please find attached "compile.log" for logs of command "mvn clean >>> package -DskipTests". >>> >>> Which clearly say "Building HBase 2.0.0-SNAPSHOT". >>> >>> Let me know if I am wrong. >>> >>> >>> Regards >>> Sanjiv Singh >>> Mob : +091 9990-447-339 >>> >>> >>> On Fri, Aug 22, 2014 at 2:20 PM, tobe <[email protected]> wrote: >>> >>>> 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 <[email protected]> >>>> 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 <[email protected]> wrote: >>>>> >>>>>> What're the versions of java and hbase? >>>>>> >>>>>> >>>>>> On Fri, Aug 22, 2014 at 2:41 PM, @Sanjiv Singh < >>>>>> [email protected]> 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 >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> >
