hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brock Noland <br...@cloudera.com>
Subject Re: Building Hive
Date Tue, 07 Jan 2014 15:00:05 GMT
For odbc only (i.e. from the odbc directory) the "compile" target should
"work". I put work in quotes because I don't think the odbc code is in a
compilable state. However, the compile target does correctly attempt to
compile.


On Mon, Jan 6, 2014 at 7:44 PM, Lefty Leverenz <leftyleverenz@gmail.com>wrote:

> The wikidoc shows "mvn compile" in the section How to compile
> ODBC?<
> https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ#HiveDeveloperFAQ-HowtocompileODBC
> ?>
> --
> is that where you needed to use "mvn package" instead?
>
> I'm asking because we want to improve the documentation.  Three "ant"
> commands in the Getting Started section you mentioned also need to be
> changed (Building Hive from
> Source<
> https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-BuildingHivefromSource
> >
> ).
>
> Thanks.  -- Lefty
>
>
> On Mon, Jan 6, 2014 at 1:19 PM, Konstantin Weitz <
> konstantin.weitz@gmail.com
> > wrote:
>
> > Alright, I figured it out. You cannot use mvn compile, you have to use
> mvn
> > package and then it works! Thanks for all the support!
> >
> >
> > On Mon, Jan 6, 2014 at 1:00 PM, Konstantin Weitz <
> > konstantin.weitz@gmail.com
> > > wrote:
> >
> > > Thank's Eugene, with that I would have known to use the -Phadoop=1
> flag.
> > > Using google I had only found the ant tutorial here
> > > https://cwiki.apache.org/confluence/display/Hive/GettingStarted.
> > >
> > > I think my current problem is that the build depends on version
> > > 0.13.0-SNAPSHOT of hive-exec that is not currently available online.
> The
> > > latest version online is 0.12.0, see
> > > http://mvnrepository.com/artifact/org.apache.hive/hive-exec
> > >
> > > I saw that hive-exec is located in hive/ql, but I'm not able to
> > > successfully build it. Do you know how to?
> > >
> > >
> > >
> > > On Mon, Jan 6, 2014 at 12:44 PM, Eugene Koifman <
> > ekoifman@hortonworks.com>wrote:
> > >
> > >>
> > >>
> >
> https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ#HiveDeveloperFAQ-Howtobuildallsource
> > >> ?
> > >>
> > >>
> > >> On Mon, Jan 6, 2014 at 12:42 PM, Konstantin Weitz <
> > >> konstantin.weitz@gmail.com> wrote:
> > >>
> > >> > Thanks, that got me a bit further. I ran
> > >> >
> > >> > mvn compile -Phadoop-2
> > >> >
> > >> > Unfortunately, now I get the following error. Any clue why?
> > >> >
> > >> > [INFO]
> > >> >
> > ------------------------------------------------------------------------
> > >> > [INFO] Building Hive Service 0.13.0-SNAPSHOT
> > >> > [INFO]
> > >> >
> > ------------------------------------------------------------------------
> > >> > [INFO]
> > >> >
> > ------------------------------------------------------------------------
> > >> > [INFO] Reactor Summary:
> > >> > [INFO]
> > >> > [INFO] Hive .............................................. SUCCESS
> > >> [0.938s]
> > >> > [INFO] Hive Ant Utilities ................................ SUCCESS
> > >> [1.288s]
> > >> > [INFO] Hive Shims Common ................................. SUCCESS
> > >> [0.513s]
> > >> > [INFO] Hive Shims 0.20 ................................... SUCCESS
> > >> [0.410s]
> > >> > [INFO] Hive Shims Secure Common .......................... SUCCESS
> > >> [0.322s]
> > >> > [INFO] Hive Shims 0.20S .................................. SUCCESS
> > >> [0.178s]
> > >> > [INFO] Hive Shims 0.23 ................................... SUCCESS
> > >> [0.612s]
> > >> > [INFO] Hive Shims ........................................ SUCCESS
> > >> [0.097s]
> > >> > [INFO] Hive Common ....................................... SUCCESS
> > >> [5.665s]
> > >> > [INFO] Hive Serde ........................................ SUCCESS
> > >> [9.090s]
> > >> > [INFO] Hive Metastore .................................... SUCCESS
> > >> > [17.912s]
> > >> > [INFO] Hive Query Language ............................... SUCCESS
> > >> > [34.242s]
> > >> > [INFO] Hive Service ...................................... FAILURE
> > >> [1.049s]
> > >> > [INFO] Hive JDBC ......................................... SKIPPED
> > >> > [INFO] Hive Beeline ...................................... SKIPPED
> > >> > [INFO] Hive CLI .......................................... SKIPPED
> > >> > [INFO] Hive Contrib ...................................... SKIPPED
> > >> > [INFO] Hive HBase Handler ................................ SKIPPED
> > >> > [INFO] Hive HCatalog ..................................... SKIPPED
> > >> > [INFO] Hive HCatalog Core ................................ SKIPPED
> > >> > [INFO] Hive HCatalog Pig Adapter ......................... SKIPPED
> > >> > [INFO] Hive HCatalog Server Extensions ................... SKIPPED
> > >> > [INFO] Hive HCatalog Webhcat Java Client ................. SKIPPED
> > >> > [INFO] Hive HCatalog Webhcat ............................. SKIPPED
> > >> > [INFO] Hive HCatalog HBase Storage Handler ............... 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: 1:13.287s
> > >> > [INFO] Finished at: Mon Jan 06 12:41:09 PST 2014
> > >> > [INFO] Final Memory: 44M/458M
> > >> > [INFO]
> > >> >
> > ------------------------------------------------------------------------
> > >> > [ERROR] Failed to execute goal on project hive-service: Could not
> > >> resolve
> > >> > dependencies for project
> > >> org.apache.hive:hive-service:jar:0.13.0-SNAPSHOT:
> > >> > Could not find artifact
> > >> org.apache.hive:hive-exec:jar:tests:0.13.0-SNAPSHOT
> > >> > -> [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/DependencyResolutionException
> > >> > [ERROR]
> > >> > [ERROR] After correcting the problems, you can resume the build with
> > the
> > >> > command
> > >> > [ERROR]   mvn <goals> -rf :hive-service
> > >> >
> > >> >
> > >> >
> > >> > On Mon, Jan 6, 2014 at 12:36 PM, Xuefu Zhang <xzhang@cloudera.com>
> > >> wrote:
> > >> >
> > >> > > You will need either "-Phadoop-1" or "-Phadoop-2" option.
> > >> > >
> > >> > >
> > >> > > On Mon, Jan 6, 2014 at 12:33 PM, Konstantin Weitz <
> > >> > > konstantin.weitz@gmail.com> wrote:
> > >> > >
> > >> > > > I'm trying to build Hive from the trunk source. I ran
> > >> > > >
> > >> > > > mvn compile
> > >> > > >
> > >> > > > But I got the following error messages.
> > >> > > > What am I doing wrong?
> > >> > > > Is there documentation on how to build Hive?
> > >> > > >
> > >> > > >
> > >> > > > [INFO]
> > -------------------------------------------------------------
> > >> > > > [INFO]
> > >> > > >
> > >> >
> > ------------------------------------------------------------------------
> > >> > > > [INFO] Reactor Summary:
> > >> > > > [INFO]
> > >> > > > [INFO] Hive ..............................................
> SUCCESS
> > >> > > [1.158s]
> > >> > > > [INFO] Hive Ant Utilities ................................
> SUCCESS
> > >> > > [3.550s]
> > >> > > > [INFO] Hive Shims Common .................................
> SUCCESS
> > >> > > [1.129s]
> > >> > > > [INFO] Hive Shims 0.20 ...................................
> SUCCESS
> > >> > > [0.814s]
> > >> > > > [INFO] Hive Shims Secure Common ..........................
> SUCCESS
> > >> > > [1.089s]
> > >> > > > [INFO] Hive Shims 0.20S ..................................
> SUCCESS
> > >> > > [0.480s]
> > >> > > > [INFO] Hive Shims 0.23 ...................................
> SUCCESS
> > >> > > [1.221s]
> > >> > > > [INFO] Hive Shims ........................................
> SUCCESS
> > >> > > [0.131s]
> > >> > > > [INFO] Hive Common .......................................
> FAILURE
> > >> > > [2.518s]
> > >> > > > [INFO] Hive Serde ........................................
> SKIPPED
> > >> > > > [INFO] Hive Metastore ....................................
> SKIPPED
> > >> > > > [INFO] Hive Query Language ...............................
> SKIPPED
> > >> > > > [INFO] Hive Service ......................................
> SKIPPED
> > >> > > > [INFO] Hive JDBC .........................................
> SKIPPED
> > >> > > > [INFO] Hive Beeline ......................................
> SKIPPED
> > >> > > > [INFO] Hive CLI ..........................................
> SKIPPED
> > >> > > > [INFO] Hive Contrib ......................................
> SKIPPED
> > >> > > > [INFO] Hive HBase Handler ................................
> SKIPPED
> > >> > > > [INFO] Hive HCatalog .....................................
> SKIPPED
> > >> > > > [INFO] Hive HCatalog Core ................................
> SKIPPED
> > >> > > > [INFO] Hive HCatalog Pig Adapter .........................
> SKIPPED
> > >> > > > [INFO] Hive HCatalog Server Extensions ...................
> SKIPPED
> > >> > > > [INFO] Hive HCatalog Webhcat Java Client .................
> SKIPPED
> > >> > > > [INFO] Hive HCatalog Webhcat .............................
> SKIPPED
> > >> > > > [INFO] Hive HCatalog HBase Storage Handler ...............
> 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: 13.234s
> > >> > > > [INFO] Finished at: Mon Jan 06 12:23:33 PST 2014
> > >> > > > [INFO] Final Memory: 36M/186M
> > >> > > > [INFO]
> > >> > > >
> > >> >
> > ------------------------------------------------------------------------
> > >> > > > [ERROR] Failed to execute goal
> > >> > > > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> > >> > > > (default-compile) on project hive-common: Compilation failure:
> > >> > > Compilation
> > >> > > > failure:
> > >> > > > [ERROR]
> > >> > > >
> > >> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[44,30]
> > >> > > > package org.apache.hadoop.conf does not exist
> > >> > > > [ERROR]
> > >> > > >
> > >> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[46,32]
> > >> > > > package org.apache.hadoop.mapred does not exist
> > >> > > > [ERROR]
> > >> > > >
> > >> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[47,34]
> > >> > > > package org.apache.hadoop.security does not exist
> > >> > > > [ERROR]
> > >> > > >
> > >> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[48,30]
> > >> > > > package org.apache.hadoop.util does not exist
> > >> > > > [ERROR]
> > >> > > >
> > >> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[53,31]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: class Configuration
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1063,31]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1068,32]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1081,33]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1086,33]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1090,33]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1103,35]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1108,35]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1112,34]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1125,36]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1130,36]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1134,33]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1147,31]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1152,31]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1156,29]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1189,19]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1209,43]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1294,51]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[22,28]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class FileStatus
> > >> > > > [ERROR] location: package org.apache.hadoop.fs
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[23,28]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class FileSystem
> > >> > > > [ERROR] location: package org.apache.hadoop.fs
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[24,28]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: package org.apache.hadoop.fs
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[46,51]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: class
> > org.apache.hadoop.hive.common.HiveStatsUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[46,73]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class FileSystem
> > >> > > > [ERROR] location: class
> > org.apache.hadoop.hive.common.HiveStatsUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[46,17]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class FileStatus
> > >> > > > [ERROR] location: class
> > org.apache.hadoop.hive.common.HiveStatsUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[20,30]
> > >> > > > package org.apache.hadoop.conf does not exist
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[58,41]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class
> > >> > > > org.apache.hadoop.hive.common.StatsSetupConst.StatDB
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[59,42]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class
> > >> > > > org.apache.hadoop.hive.common.StatsSetupConst.StatDB
> > >> > > > [ERROR]
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/ServerUtils.java:[23,28]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class FileSystem
> > >> > > > [ERROR] location: package org.apache.hadoop.fs
> > >> > > > [ERROR]
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/ServerUtils.java:[24,28]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: package org.apache.hadoop.fs
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > >>
> > hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[26,30]
> > >> > > > package org.apache.hadoop.conf does not exist
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > >>
> > hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[27,28]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class FileStatus
> > >> > > > [ERROR] location: package org.apache.hadoop.fs
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > >>
> > hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[28,28]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class FileSystem
> > >> > > > [ERROR] location: package org.apache.hadoop.fs
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > >>
> > hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[29,28]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: package org.apache.hadoop.fs
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > >>
> > hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[30,30]
> > >> > > > package org.apache.hadoop.util does not exist
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > >>
> > hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[52,36]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > >>
> > hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[52,47]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > >>
> > hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[52,17]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[288,44]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class FileSystem
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[288,59]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class FileStatus
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[289,12]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class FileStatus
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[39,28]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: package org.apache.hadoop.fs
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[42,28]
> > >> > > > package org.apache.hadoop.io does not exist
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[237,17]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: class
> > org.apache.hive.common.util.HiveStringUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[819,38]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Text
> > >> > > > [ERROR] location: class
> > org.apache.hive.common.util.HiveStringUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1000,21]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   variable Shell
> > >> > > > [ERROR] location: class
> > >> org.apache.hadoop.hive.conf.HiveConf.ConfVars
> > >> > > > [ERROR]
> > >> > > >
> > >>
> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1041,9]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1041,34]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Configuration
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >>
> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1060,5]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   method set(java.lang.String,java.lang.String)
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1175,40]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   method get(java.lang.String)
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1175,68]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   method get(java.lang.String)
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1181,20]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: method getClass()
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1220,20]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class JobConf
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >>
> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1226,5]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   method addResource(java.io.InputStream)
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >>
> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1230,7]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   method addResource(java.net.URL)
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1236,12]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: method get(java.lang.String,<nulltype>)
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1245,21]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: method get(java.lang.String)
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1249,21]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: method get(java.lang.String)
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1269,11]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: method set(java.lang.String,java.lang.String)
> > >> > > > [ERROR]
> > >> > > >
> > >>
> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1351,7]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class UserGroupInformation
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >>
> hive/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:[1352,9]
> > >> > > > cannot access org.apache.hadoop.conf.Configuration
> > >> > > > [ERROR] class file for org.apache.hadoop.conf.Configuration not
> > >> found
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[52,17]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   variable Path
> > >> > > > [ERROR] location: class
> > org.apache.hadoop.hive.common.HiveStatsUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[54,5]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: class
> > org.apache.hadoop.hive.common.HiveStatsUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/HiveStatsUtils.java:[54,28]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: class
> > org.apache.hadoop.hive.common.HiveStatsUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[35,34]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: class Configuration
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[37,35]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: class Configuration
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[41,34]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: class Configuration
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[43,35]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: class Configuration
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[47,34]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: class Configuration
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[49,35]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: class Configuration
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[53,34]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: class Configuration
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/StatsSetupConst.java:[55,35]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol: class Configuration
> > >> > > > [ERROR]
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/ServerUtils.java:[38,39]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   method get(java.lang.String)
> > >> > > > [ERROR] location: variable hiveConf of type
> > >> > > > org.apache.hadoop.hive.conf.HiveConf
> > >> > > > [ERROR]
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/ServerUtils.java:[40,9]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: class
> org.apache.hadoop.hive.common.ServerUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/ServerUtils.java:[40,34]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: class
> org.apache.hadoop.hive.common.ServerUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/ServerUtils.java:[42,9]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class FileSystem
> > >> > > > [ERROR] location: class
> org.apache.hadoop.hive.common.ServerUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > >>
> > hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[58,33]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   variable FileSystem
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > >>
> > hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[61,17]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   variable FileSystem
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > >>
> > hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[89,16]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[114,21]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   variable Path
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[137,31]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   variable Path
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[155,21]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   variable Path
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > >>
> > hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[201,8]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   variable Shell
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> >
> > >>
> > hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[201,7]
> > >> > > > illegal start of type
> > >> > > > [ERROR]
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/FileUtils.java:[292,12]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class FileStatus
> > >> > > > [ERROR] location: class org.apache.hadoop.hive.common.FileUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hadoop/hive/common/CompressionUtils.java:[70,27]
> > >> > > > package org.apache.hadoop.io does not exist
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[241,5]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: class
> > org.apache.hive.common.util.HiveStringUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[241,20]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: class
> > org.apache.hive.common.util.HiveStringUtils
> > >> > > > [ERROR]
> > >> > > >
> > >> > > >
> > >> > >
> > >> >
> > >>
> >
> hive/common/src/java/org/apache/hive/common/util/HiveStringUtils.java:[243,18]
> > >> > > > cannot find symbol
> > >> > > > [ERROR] symbol:   class Path
> > >> > > > [ERROR] location: class
> > org.apache.hive.common.util.HiveStringUtils
> > >> > > > [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
> > >> > > > [ERROR]
> > >> > > > [ERROR] After correcting the problems, you can resume the build
> > with
> > >> > the
> > >> > > > command
> > >> > > > [ERROR]   mvn <goals> -rf :hive-common
> > >> > > > mvn compile  27.74s user 0.75s system 182% cpu 15.621 total
> > >> > > >
> > >> > >
> > >> >
> > >>
> > >> --
> > >> CONFIDENTIALITY NOTICE
> > >> NOTICE: This message is intended for the use of the individual or
> entity
> > >> to
> > >> which it is addressed and may contain information that is
> confidential,
> > >> privileged and exempt from disclosure under applicable law. If the
> > reader
> > >> of this message is not the intended recipient, you are hereby notified
> > >> that
> > >> any printing, copying, dissemination, distribution, disclosure or
> > >> forwarding of this communication is strictly prohibited. If you have
> > >> received this communication in error, please contact the sender
> > >> immediately
> > >> and delete it from your system. Thank You.
> > >>
> > >
> > >
> >
>



-- 
Apache MRUnit - Unit testing MapReduce - http://mrunit.apache.org

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