When I compile a project, error happens now and then, for most time, I just recompile it, then everything get ok,
Also, JDK 1.8 may work well with hadoop ecosystem, so I advice try jdk 1.7 instead. On Sun, Mar 6, 2016 at 6:31 PM, Isuru Sankalpa <isankal...@gmail.com> wrote: > When i build hive according to instructions from > https://lens.apache.org/lenshome/install-and-run.html it gives errors > when building the project > > > [INFO] Hive HCatalog Server Extensions .................... SUCCESS [ > 2.592 s] > [INFO] Hive HCatalog Webhcat Java Client .................. SUCCESS [ > 1.996 s] > [INFO] Hive HCatalog Webhcat .............................. FAILURE [ > 5.603 s] > [INFO] Hive HCatalog Streaming ............................ SKIPPED > [INFO] Hive HWI ........................................... SKIPPED > [INFO] Hive ODBC .......................................... SKIPPED > [INFO] Hive Shims Aggregator .............................. SKIPPED > [INFO] Hive TestUtils ..................................... SKIPPED > [INFO] Hive Packaging ..................................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 03:47 min > [INFO] Finished at: 2016-03-06T01:11:00-08:00 > [INFO] Final Memory: 132M/367M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-javadoc-plugin:2.4 > :javadoc (resourcesdoc.xml) on project hive-webhcat: An error has occurred > in Ja > vaDocs report generation:Exit code: 1 - javadoc: error - Illegal package > name: " > drills\hive" > [ERROR] javadoc: error - Illegal package name: > "build\hive-hive-release-0.13.4-i > nm\hcatalog\webhcat\svr\target\classes/resourcedoc.xml" > [ERROR] javadoc: warning - No source files for package with > [ERROR] > [ERROR] Command line was:"C:\Program > Files\Java\jdk1.8.0_11\jre\..\bin\javadoc.e > xe" @options @packages > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e swit > ch. > [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 rea > d the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE > xception > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > > [ERROR] mvn <goals> -rf :hive-webhcat > > can someone please explain the reason. > >