You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Abhi Basu <90...@gmail.com> on 2016/02/17 20:38:14 UTC

Maven buld issues - how to fix?

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [01:01
min]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [
19.152 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [
 9.324 s]
[INFO] Zeppelin: Display system apis ...................... SUCCESS [
20.503 s]
[INFO] Zeppelin: Spark dependencies ....................... FAILURE [
46.626 s]
[INFO] Zeppelin: Spark .................................... SKIPPED
[INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
[INFO] Zeppelin: Angular interpreter ...................... SKIPPED
[INFO] Zeppelin: Shell interpreter ........................ SKIPPED
[INFO] Zeppelin: Hive interpreter ......................... SKIPPED
[INFO] Zeppelin: HBase interpreter ........................ SKIPPED
[INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED
[INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
[INFO] Zeppelin: JDBC interpreter ......................... SKIPPED
[INFO] Zeppelin: Tajo interpreter ......................... SKIPPED
[INFO] Zeppelin: Flink .................................... SKIPPED
[INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
[INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
[INFO] Zeppelin: Lens interpreter ......................... SKIPPED
[INFO] Zeppelin: Cassandra ................................ SKIPPED
[INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
[INFO] Zeppelin: Tachyon interpreter ...................... SKIPPED
[INFO] Zeppelin: web Application .......................... SKIPPED
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:37 min
[INFO] Finished at: 2016-02-17T11:35:02-08:00
[INFO] Final Memory: 61M/1897M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project zeppelin-spark-dependencies:
Could not resolve dependencies for project
org.apache.zeppelin:zeppelin-spark-dependencies:jar:0.6.0-incubating-SNAPSHOT:
The following artifacts could not be resolved:
org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1,
org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.5.1: Could not find
artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [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 :zeppelin-spark-dependencies


Thanks,

Abhi

-- 
Abhi Basu

Re: Maven buld issues - how to fix?

Posted by Felix Cheung <fe...@hotmail.com>.
Right pyspark would require SPARK_HOME. You should probably set this in the environment and then start Zeppelin. You should point that to the cluster copy say /opt/cloudera/parcels/CDH/lib/spark



    _____________________________
From: Abhi Basu <90...@gmail.com>
Sent: Wednesday, February 17, 2016 2:41 PM
Subject: Re: Maven buld issues - how to fix?
To: Zeppelin Users <us...@zeppelin.incubator.apache.org>


       
       OK, config question, very close now :)         
             Have set hive conf dir in zeppelin-env.sh.             
             This is what spark interpreter looks like:                  
          
          When running the test notebook, get this error. Where do I set this, in zeppelin conf file? Also should it point to the Spark on my node or zeppelin instance of spark?          
          java.util.NoSuchElementException: key not found: SPARK_HOME at scala.collection.MapLike$class.default(MapLike.scala:228) at scala.collection.AbstractMap.default(Map.scala:58) at scala.collection.MapLike$class.apply(MapLike.scala:141) at scala.collection.AbstractMap.apply(Map.scala:58) at org.apache.spark.deploy.yarn.Client$$anonfun$findPySparkArchives$2.apply(Client.scala:936) at org.apache.spark.deploy.yarn.Client$$anonfun$findPySparkArchives$2.apply(Client.scala:935) at scala.Option.getOrElse(Option.scala:120) at org.apache.spark.deploy.yarn.Client.findPySparkArchives(Client.scala:935) at org.apache.spark.deploy.yarn.Client.createContainerLaunchContext(Client.scala:624) at org.apache.spark.deploy.yarn.Client.submitApplication(Client.scala:119) at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:56) at org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:144) at org.apache.spark.SparkContext.<init>(SparkContext.scala:514) at org.apache.zeppelin.spark.SparkInterpreter.createSparkContext(SparkInterpreter.java:342) at org.apache.zeppelin.spark.SparkInterpreter.getSparkContext(SparkInterpreter.java:144) at org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:484) at org.apache.zeppelin.interpreter.ClassloaderInterpreter.open(ClassloaderInterpreter.java:74) at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:68) at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:92) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:312) at org.apache.zeppelin.scheduler.Job.run(Job.java:171) at org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)    
          
          
       On Wed, Feb 17, 2016 at 2:38 PM, Felix Cheung     <fe...@hotmail.com> wrote:    
                        Cool                    Yes we should probably refactor / update that doc.       
        
                
                             
         
         
                  On Wed, Feb 17, 2016 at 2:10 PM -0800, "Abhi Basu"           <90...@gmail.com> wrote:         
          
                                      installed nodejs, npm and set proxies on npm and bower. All set now. Thanks!!                             
                      On Wed, Feb 17, 2016 at 1:45 PM, Abhi Basu             <90...@gmail.com> wrote:           
                                      Yes that is resolved now. Looks like I am missing npm on my system, which was not mentioned here -              https://zeppelin.incubator.apache.org/docs/0.5.5-incubating/install/yarn_install.html. I will retry after I install npm.                                                                     
                                On Wed, Feb 17, 2016 at 1:42 PM, Felix Cheung                  <fe...@hotmail.com> wrote:                
                                                                         Would you happen to be in sync with the latest in the master branch? The remote repo should be added with the profile switch -Pvendor-repo                                                        
                                                         
 Could not find artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (                     http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [Help 1]                   
                                        
                                                                              
                     
                     
                                          On Wed, Feb 17, 2016 at 1:41 PM -0800, "Abhi Basu"                       <90...@gmail.com> wrote:                     
                      
                                                                                      Yes, fixed to:                                              mvn clean package -Pspark-1.5 -Dspark.version=1.5.0 -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-repo -Pyarn -Ppyspark -DskipTests                                                                    
                                                                     Worked a lot better and get this now - npm install error.                                                                    
                                                                                              [INFO] Reactor Summary:                                                                       [INFO]                                                                       [INFO] Zeppelin ........................................... SUCCESS [  4.066 s]                                                                       [INFO] Zeppelin: Interpreter .............................. SUCCESS [  7.700 s]                                                                       [INFO] Zeppelin: Zengine .................................. SUCCESS [  2.671 s]                                                                       [INFO] Zeppelin: Display system apis ...................... SUCCESS [ 12.254 s]                                                                       [INFO] Zeppelin: Spark dependencies ....................... SUCCESS [02:21 min]                                                                       [INFO] Zeppelin: Spark .................................... SUCCESS [ 19.453 s]                                                                       [INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [  0.445 s]                                                                       [INFO] Zeppelin: Angular interpreter ...................... SUCCESS [  0.245 s]                                                                       [INFO] Zeppelin: Shell interpreter ........................ SUCCESS [  0.250 s]                                                                       [INFO] Zeppelin: Hive interpreter ......................... SUCCESS [  6.179 s]                                                                       [INFO] Zeppelin: HBase interpreter ........................ SUCCESS [  7.069 s]                                                                       [INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [  8.575 s]                                                                       [INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [  0.952 s]                                                                       [INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [  0.382 s]                                                                       [INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [  3.108 s]                                                                       [INFO] Zeppelin: Flink .................................... SUCCESS [ 23.038 s]                                                                       [INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [  6.317 s]                                                                       [INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [  0.349 s]                                                                       [INFO] Zeppelin: Lens interpreter ......................... SUCCESS [  8.439 s]                                                                       [INFO] Zeppelin: Cassandra ................................ SUCCESS [ 59.175 s]                                                                       [INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [  8.617 s]                                                                       [INFO] Zeppelin: Tachyon interpreter ...................... SUCCESS [  5.560 s]                                                                       [INFO] Zeppelin: web Application .......................... FAILURE [01:17 min]                                                                       [INFO] Zeppelin: Server ................................... SKIPPED                                                                       [INFO] Zeppelin: Packaging distribution ................... SKIPPED                                                                       [INFO] ------------------------------------------------------------------------                                                                       [INFO] BUILD FAILURE                                                                       [INFO] ------------------------------------------------------------------------                                                                       [INFO] Total time: 06:44 min                                                                       [INFO] Finished at: 2016-02-17T13:38:50-08:00                                                                       [INFO] Final Memory: 218M/3381M                                                                       [INFO] ------------------------------------------------------------------------                                                                       [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.25:npm (npm install) on project zeppelin-web: Failed to run task: 'npm install --color=false --proxy=                        http://proxy.xx.xxxx.com:911' failed. (error code 1) -> [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 :zeppelin-web                                                                                            
                                                                     
                                                                     
                                                                     
                                                                     
                                                
                                                  On Wed, Feb 17, 2016 at 1:12 PM, Christopher Matta                          <cm...@mapr.com> wrote:                         
                                                                                                              

Just pointing out that you missed an ‘o’ at the end of  -Pvendor-repo in your build command.                                                           ​                                                                                                                                         
                                                                                                                     Chris Matta                                                              cmatta@mapr.com                                                                                            215-701-3146                                                                                                                                                                                                           
                                                            On Wed, Feb 17, 2016 at 3:54 PM, Abhi Basu                               <90...@gmail.com> wrote:                              
                                                                                               Same error with:                                                                  
                                                                                                   mvn clean package -Pspark-1.5 -Dspark.version=1.5.0 -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-rep -Pyarn -Ppyspark -DskipTests                                 
                                                                                                   
                                                                                                   
                                                                                                                                      [root@cdh-lsedge incubator-zeppelin]# hadoop version                                                                                                     Hadoop 2.6.0-cdh5.5.1                                                                                                     Subversion                                   http://github.com/cloudera/hadoop -r e1581abbb6ab62b0a41b7ce6141d7280bf0c53da                                                                                                     Compiled by jenkins on 2015-12-02T18:38Z                                                                                                     Compiled with protoc 2.5.0                                                                                                     >From source with checksum 98e07176d1787150a6a9c087627562c                                                                                                     This command was run using /opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/hadoop-common-2.6.0-cdh5.5.1.jar                                                                                                                                    
                                                                                                   Spark version 1.5.0                                                                                                  
                                                                                                                                                                                                      
                                                                      On Wed, Feb 17, 2016 at 12:45 PM, Felix Cheung                                    <fe...@hotmail.com> wrote:                                   
                                                                                                                                                     Try building with -Pvendor-repo                                      
                                       
                                                                              
                                                                                                                                                          
                                        
                                        
                                                                                On Wed, Feb 17, 2016 at 11:38 AM -0800, "Abhi Basu"                                         <90...@gmail.com> wrote:                                        
                                         
                                                                                                                                                                                                             [INFO] ------------------------------------------------------------------------                                                                                                                             [INFO] Reactor Summary:                                                                                                                             [INFO]                                                                                                                             [INFO] Zeppelin ........................................... SUCCESS [01:01 min]                                                                                                                             [INFO] Zeppelin: Interpreter .............................. SUCCESS [ 19.152 s]                                                                                                                             [INFO] Zeppelin: Zengine .................................. SUCCESS [  9.324 s]                                                                                                                             [INFO] Zeppelin: Display system apis ...................... SUCCESS [ 20.503 s]                                                                                                                             [INFO] Zeppelin: Spark dependencies ....................... FAILURE [ 46.626 s]                                                                                                                             [INFO] Zeppelin: Spark .................................... SKIPPED                                                                                                                             [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED                                                                                                                             [INFO] Zeppelin: Angular interpreter ...................... SKIPPED                                                                                                                             [INFO] Zeppelin: Shell interpreter ........................ SKIPPED                                                                                                                             [INFO] Zeppelin: Hive interpreter ......................... SKIPPED                                                                                                                             [INFO] Zeppelin: HBase interpreter ........................ SKIPPED                                                                                                                             [INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED                                                                                                                             [INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED                                                                                                                             [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED                                                                                                                             [INFO] Zeppelin: Tajo interpreter ......................... SKIPPED                                                                                                                             [INFO] Zeppelin: Flink .................................... SKIPPED                                                                                                                             [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED                                                                                                                             [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED                                                                                                                             [INFO] Zeppelin: Lens interpreter ......................... SKIPPED                                                                                                                             [INFO] Zeppelin: Cassandra ................................ SKIPPED                                                                                                                             [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED                                                                                                                             [INFO] Zeppelin: Tachyon interpreter ...................... SKIPPED                                                                                                                             [INFO] Zeppelin: web Application .......................... SKIPPED                                                                                                                             [INFO] Zeppelin: Server ................................... SKIPPED                                                                                                                             [INFO] Zeppelin: Packaging distribution ................... SKIPPED                                                                                                                             [INFO] ------------------------------------------------------------------------                                                                                                                             [INFO] BUILD FAILURE                                                                                                                             [INFO] ------------------------------------------------------------------------                                                                                                                             [INFO] Total time: 02:37 min                                                                                                                             [INFO] Finished at: 2016-02-17T11:35:02-08:00                                                                                                                             [INFO] Final Memory: 61M/1897M                                                                                                                             [INFO] ------------------------------------------------------------------------                                                                                                                             [ERROR] Failed to execute goal on project zeppelin-spark-dependencies: Could not resolve dependencies for project org.apache.zeppelin:zeppelin-spark-dependencies:jar:0.6.0-incubating-SNAPSHOT: The following artifacts could not be resolved: org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1, org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.5.1: Could not find artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (                                          http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [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 :zeppelin-spark-dependencies                                                                                                                             
                                                                                                                              
                                                                                                                              Thanks,                                          
                                           
 Abhi                                                                                                                             
                                           --                                          
                                                                                    Abhi Basu                                                                                                                                                                                                                                                                                                                                                      
                                   
                                                                      
                                                                                                                                       -- 
                                                                      Abhi Basu                                                                                                                                                             
                                                                                                                                                                
                         
                                                  
                          --                         
                                                  Abhi Basu                                                                                                                                                                                                                            
                
                                
                                                           -- 
                                Abhi Basu                                                              
           
                      
            --           
                      Abhi Basu                                                           
   
       
   --    
       Abhi Basu        


  

Re: Maven buld issues - how to fix?

Posted by mina lee <mi...@apache.org>.
You can set SPARK_HOME in conf/zeppelin-env.sh and you need to install
spark in your node where the zeppelin is running and set SPARK_HOME to
point the Spark path not zeppelin.

On Thu, Feb 18, 2016 at 7:41 AM Abhi Basu <90...@gmail.com> wrote:

>
> OK, config question, very close now :)
>
> Have set hive conf dir in zeppelin-env.sh.
>
> This is what spark interpreter looks like:
> [image: Inline image 1]
>
> When running the test notebook, get this error. Where do I set this, in
> zeppelin conf file? Also should it point to the Spark on my node or
> zeppelin instance of spark?
>
> java.util.NoSuchElementException: key not found: SPARK_HOME at
> scala.collection.MapLike$class.default(MapLike.scala:228) at
> scala.collection.AbstractMap.default(Map.scala:58) at
> scala.collection.MapLike$class.apply(MapLike.scala:141) at
> scala.collection.AbstractMap.apply(Map.scala:58) at
> org.apache.spark.deploy.yarn.Client$$anonfun$findPySparkArchives$2.apply(Client.scala:936)
> at
> org.apache.spark.deploy.yarn.Client$$anonfun$findPySparkArchives$2.apply(Client.scala:935)
> at scala.Option.getOrElse(Option.scala:120) at
> org.apache.spark.deploy.yarn.Client.findPySparkArchives(Client.scala:935)
> at
> org.apache.spark.deploy.yarn.Client.createContainerLaunchContext(Client.scala:624)
> at org.apache.spark.deploy.yarn.Client.submitApplication(Client.scala:119)
> at
> org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:56)
> at
> org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:144)
> at org.apache.spark.SparkContext.<init>(SparkContext.scala:514) at
> org.apache.zeppelin.spark.SparkInterpreter.createSparkContext(SparkInterpreter.java:342)
> at
> org.apache.zeppelin.spark.SparkInterpreter.getSparkContext(SparkInterpreter.java:144)
> at
> org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:484)
> at
> org.apache.zeppelin.interpreter.ClassloaderInterpreter.open(ClassloaderInterpreter.java:74)
> at
> org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:68)
> at
> org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:92)
> at
> org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:312)
> at org.apache.zeppelin.scheduler.Job.run(Job.java:171) at
> org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262) at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
>
> On Wed, Feb 17, 2016 at 2:38 PM, Felix Cheung <fe...@hotmail.com>
> wrote:
>
>> Cool
>> Yes we should probably refactor / update that doc.
>>
>>
>>
>>
>>
>> On Wed, Feb 17, 2016 at 2:10 PM -0800, "Abhi Basu" <90...@gmail.com>
>> wrote:
>>
>> installed nodejs, npm and set proxies on npm and bower. All set now.
>> Thanks!!
>>
>> On Wed, Feb 17, 2016 at 1:45 PM, Abhi Basu <90...@gmail.com> wrote:
>>
>> Yes that is resolved now. Looks like I am missing npm on my system, which
>> was not mentioned here -
>> https://zeppelin.incubator.apache.org/docs/0.5.5-incubating/install/yarn_install.html.
>> I will retry after I install npm.
>>
>> On Wed, Feb 17, 2016 at 1:42 PM, Felix Cheung <fe...@hotmail.com>
>> wrote:
>>
>> Would you happen to be in sync with the latest in the master branch? The
>> remote repo should be added with the profile switch -Pvendor-repo
>>
>>
>> Could not find artifact
>> org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
>> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [Help
>> 1]
>>
>>
>>
>>
>> On Wed, Feb 17, 2016 at 1:41 PM -0800, "Abhi Basu" <90...@gmail.com>
>> wrote:
>>
>> Yes, fixed to:
>> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
>> -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-repo -Pyarn -Ppyspark
>> -DskipTests
>>
>> Worked a lot better and get this now - npm install error.
>>
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Zeppelin ........................................... SUCCESS [
>>  4.066 s]
>> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
>>  7.700 s]
>> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>>  2.671 s]
>> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
>> 12.254 s]
>> [INFO] Zeppelin: Spark dependencies ....................... SUCCESS
>> [02:21 min]
>> [INFO] Zeppelin: Spark .................................... SUCCESS [
>> 19.453 s]
>> [INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [
>>  0.445 s]
>> [INFO] Zeppelin: Angular interpreter ...................... SUCCESS [
>>  0.245 s]
>> [INFO] Zeppelin: Shell interpreter ........................ SUCCESS [
>>  0.250 s]
>> [INFO] Zeppelin: Hive interpreter ......................... SUCCESS [
>>  6.179 s]
>> [INFO] Zeppelin: HBase interpreter ........................ SUCCESS [
>>  7.069 s]
>> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [
>>  8.575 s]
>> [INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [
>>  0.952 s]
>> [INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [
>>  0.382 s]
>> [INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [
>>  3.108 s]
>> [INFO] Zeppelin: Flink .................................... SUCCESS [
>> 23.038 s]
>> [INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [
>>  6.317 s]
>> [INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [
>>  0.349 s]
>> [INFO] Zeppelin: Lens interpreter ......................... SUCCESS [
>>  8.439 s]
>> [INFO] Zeppelin: Cassandra ................................ SUCCESS [
>> 59.175 s]
>> [INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [
>>  8.617 s]
>> [INFO] Zeppelin: Tachyon interpreter ...................... SUCCESS [
>>  5.560 s]
>> [INFO] Zeppelin: web Application .......................... FAILURE
>> [01:17 min]
>> [INFO] Zeppelin: Server ................................... SKIPPED
>> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 06:44 min
>> [INFO] Finished at: 2016-02-17T13:38:50-08:00
>> [INFO] Final Memory: 218M/3381M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> com.github.eirslett:frontend-maven-plugin:0.0.25:npm (npm install) on
>> project zeppelin-web: Failed to run task: 'npm install --color=false
>> --proxy=http://proxy.xx.xxxx.com:911' failed. (error code 1) -> [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 :zeppelin-web
>>
>>
>>
>>
>>
>>
>> On Wed, Feb 17, 2016 at 1:12 PM, Christopher Matta <cm...@mapr.com>
>> wrote:
>>
>> Just pointing out that you missed an ‘o’ at the end of -Pvendor-repo in
>> your build command.
>> ​
>>
>> Chris Matta
>> cmatta@mapr.com
>> 215-701-3146
>>
>> On Wed, Feb 17, 2016 at 3:54 PM, Abhi Basu <90...@gmail.com> wrote:
>>
>> Same error with:
>>
>> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
>> -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-rep -Pyarn -Ppyspark
>> -DskipTests
>>
>>
>> [root@cdh-lsedge incubator-zeppelin]# hadoop version
>> Hadoop 2.6.0-cdh5.5.1
>> Subversion http://github.com/cloudera/hadoop -r
>> e1581abbb6ab62b0a41b7ce6141d7280bf0c53da
>> Compiled by jenkins on 2015-12-02T18:38Z
>> Compiled with protoc 2.5.0
>> From source with checksum 98e07176d1787150a6a9c087627562c
>> This command was run using
>> /opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/hadoop-common-2.6.0-cdh5.5.1.jar
>>
>> Spark version 1.5.0
>>
>>
>> On Wed, Feb 17, 2016 at 12:45 PM, Felix Cheung <felixcheung_m@hotmail.com
>> > wrote:
>>
>> Try building with -Pvendor-repo
>>
>>
>>
>>
>>
>> On Wed, Feb 17, 2016 at 11:38 AM -0800, "Abhi Basu" <90...@gmail.com>
>> wrote:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Zeppelin ........................................... SUCCESS
>> [01:01 min]
>> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
>> 19.152 s]
>> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>>  9.324 s]
>> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
>> 20.503 s]
>> [INFO] Zeppelin: Spark dependencies ....................... FAILURE [
>> 46.626 s]
>> [INFO] Zeppelin: Spark .................................... SKIPPED
>> [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
>> [INFO] Zeppelin: Angular interpreter ...................... SKIPPED
>> [INFO] Zeppelin: Shell interpreter ........................ SKIPPED
>> [INFO] Zeppelin: Hive interpreter ......................... SKIPPED
>> [INFO] Zeppelin: HBase interpreter ........................ SKIPPED
>> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED
>> [INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
>> [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED
>> [INFO] Zeppelin: Tajo interpreter ......................... SKIPPED
>> [INFO] Zeppelin: Flink .................................... SKIPPED
>> [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
>> [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
>> [INFO] Zeppelin: Lens interpreter ......................... SKIPPED
>> [INFO] Zeppelin: Cassandra ................................ SKIPPED
>> [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
>> [INFO] Zeppelin: Tachyon interpreter ...................... SKIPPED
>> [INFO] Zeppelin: web Application .......................... SKIPPED
>> [INFO] Zeppelin: Server ................................... SKIPPED
>> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 02:37 min
>> [INFO] Finished at: 2016-02-17T11:35:02-08:00
>> [INFO] Final Memory: 61M/1897M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project zeppelin-spark-dependencies:
>> Could not resolve dependencies for project
>> org.apache.zeppelin:zeppelin-spark-dependencies:jar:0.6.0-incubating-SNAPSHOT:
>> The following artifacts could not be resolved:
>> org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1,
>> org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.5.1: Could not find
>> artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
>> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [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 :zeppelin-spark-dependencies
>>
>>
>> Thanks,
>>
>> Abhi
>>
>> --
>> Abhi Basu
>>
>>
>>
>>
>> --
>> Abhi Basu
>>
>>
>>
>>
>>
>> --
>> Abhi Basu
>>
>>
>>
>>
>> --
>> Abhi Basu
>>
>>
>>
>>
>> --
>> Abhi Basu
>>
>
>
>
> --
> Abhi Basu
>

Re: Maven buld issues - how to fix?

Posted by Abhi Basu <90...@gmail.com>.
OK, config question, very close now :)

Have set hive conf dir in zeppelin-env.sh.

This is what spark interpreter looks like:
[image: Inline image 1]

When running the test notebook, get this error. Where do I set this, in
zeppelin conf file? Also should it point to the Spark on my node or
zeppelin instance of spark?

java.util.NoSuchElementException: key not found: SPARK_HOME at
scala.collection.MapLike$class.default(MapLike.scala:228) at
scala.collection.AbstractMap.default(Map.scala:58) at
scala.collection.MapLike$class.apply(MapLike.scala:141) at
scala.collection.AbstractMap.apply(Map.scala:58) at
org.apache.spark.deploy.yarn.Client$$anonfun$findPySparkArchives$2.apply(Client.scala:936)
at
org.apache.spark.deploy.yarn.Client$$anonfun$findPySparkArchives$2.apply(Client.scala:935)
at scala.Option.getOrElse(Option.scala:120) at
org.apache.spark.deploy.yarn.Client.findPySparkArchives(Client.scala:935)
at
org.apache.spark.deploy.yarn.Client.createContainerLaunchContext(Client.scala:624)
at org.apache.spark.deploy.yarn.Client.submitApplication(Client.scala:119)
at
org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:56)
at
org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:144)
at org.apache.spark.SparkContext.<init>(SparkContext.scala:514) at
org.apache.zeppelin.spark.SparkInterpreter.createSparkContext(SparkInterpreter.java:342)
at
org.apache.zeppelin.spark.SparkInterpreter.getSparkContext(SparkInterpreter.java:144)
at
org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:484)
at
org.apache.zeppelin.interpreter.ClassloaderInterpreter.open(ClassloaderInterpreter.java:74)
at
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:68)
at
org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:92)
at
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:312)
at org.apache.zeppelin.scheduler.Job.run(Job.java:171) at
org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262) at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)


On Wed, Feb 17, 2016 at 2:38 PM, Felix Cheung <fe...@hotmail.com>
wrote:

> Cool
> Yes we should probably refactor / update that doc.
>
>
>
>
>
> On Wed, Feb 17, 2016 at 2:10 PM -0800, "Abhi Basu" <90...@gmail.com>
> wrote:
>
> installed nodejs, npm and set proxies on npm and bower. All set now.
> Thanks!!
>
> On Wed, Feb 17, 2016 at 1:45 PM, Abhi Basu <90...@gmail.com> wrote:
>
> Yes that is resolved now. Looks like I am missing npm on my system, which
> was not mentioned here -
> https://zeppelin.incubator.apache.org/docs/0.5.5-incubating/install/yarn_install.html.
> I will retry after I install npm.
>
> On Wed, Feb 17, 2016 at 1:42 PM, Felix Cheung <fe...@hotmail.com>
> wrote:
>
> Would you happen to be in sync with the latest in the master branch? The
> remote repo should be added with the profile switch -Pvendor-repo
>
>
> Could not find artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1
> in gaomaven (
> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [Help 1]
>
>
>
>
> On Wed, Feb 17, 2016 at 1:41 PM -0800, "Abhi Basu" <90...@gmail.com>
> wrote:
>
> Yes, fixed to:
> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
> -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-repo -Pyarn -Ppyspark
> -DskipTests
>
> Worked a lot better and get this now - npm install error.
>
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Zeppelin ........................................... SUCCESS [
>  4.066 s]
> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
>  7.700 s]
> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>  2.671 s]
> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
> 12.254 s]
> [INFO] Zeppelin: Spark dependencies ....................... SUCCESS [02:21
> min]
> [INFO] Zeppelin: Spark .................................... SUCCESS [
> 19.453 s]
> [INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [
>  0.445 s]
> [INFO] Zeppelin: Angular interpreter ...................... SUCCESS [
>  0.245 s]
> [INFO] Zeppelin: Shell interpreter ........................ SUCCESS [
>  0.250 s]
> [INFO] Zeppelin: Hive interpreter ......................... SUCCESS [
>  6.179 s]
> [INFO] Zeppelin: HBase interpreter ........................ SUCCESS [
>  7.069 s]
> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [
>  8.575 s]
> [INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [
>  0.952 s]
> [INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [
>  0.382 s]
> [INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [
>  3.108 s]
> [INFO] Zeppelin: Flink .................................... SUCCESS [
> 23.038 s]
> [INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [
>  6.317 s]
> [INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [
>  0.349 s]
> [INFO] Zeppelin: Lens interpreter ......................... SUCCESS [
>  8.439 s]
> [INFO] Zeppelin: Cassandra ................................ SUCCESS [
> 59.175 s]
> [INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [
>  8.617 s]
> [INFO] Zeppelin: Tachyon interpreter ...................... SUCCESS [
>  5.560 s]
> [INFO] Zeppelin: web Application .......................... FAILURE [01:17
> min]
> [INFO] Zeppelin: Server ................................... SKIPPED
> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 06:44 min
> [INFO] Finished at: 2016-02-17T13:38:50-08:00
> [INFO] Final Memory: 218M/3381M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:0.0.25:npm (npm install) on
> project zeppelin-web: Failed to run task: 'npm install --color=false
> --proxy=http://proxy.xx.xxxx.com:911' failed. (error code 1) -> [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 :zeppelin-web
>
>
>
>
>
>
> On Wed, Feb 17, 2016 at 1:12 PM, Christopher Matta <cm...@mapr.com>
> wrote:
>
> Just pointing out that you missed an ‘o’ at the end of -Pvendor-repo in
> your build command.
> ​
>
> Chris Matta
> cmatta@mapr.com
> 215-701-3146
>
> On Wed, Feb 17, 2016 at 3:54 PM, Abhi Basu <90...@gmail.com> wrote:
>
> Same error with:
>
> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
> -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-rep -Pyarn -Ppyspark
> -DskipTests
>
>
> [root@cdh-lsedge incubator-zeppelin]# hadoop version
> Hadoop 2.6.0-cdh5.5.1
> Subversion http://github.com/cloudera/hadoop -r
> e1581abbb6ab62b0a41b7ce6141d7280bf0c53da
> Compiled by jenkins on 2015-12-02T18:38Z
> Compiled with protoc 2.5.0
> From source with checksum 98e07176d1787150a6a9c087627562c
> This command was run using
> /opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/hadoop-common-2.6.0-cdh5.5.1.jar
>
> Spark version 1.5.0
>
>
> On Wed, Feb 17, 2016 at 12:45 PM, Felix Cheung <fe...@hotmail.com>
> wrote:
>
> Try building with -Pvendor-repo
>
>
>
>
>
> On Wed, Feb 17, 2016 at 11:38 AM -0800, "Abhi Basu" <90...@gmail.com>
> wrote:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Zeppelin ........................................... SUCCESS [01:01
> min]
> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
> 19.152 s]
> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>  9.324 s]
> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
> 20.503 s]
> [INFO] Zeppelin: Spark dependencies ....................... FAILURE [
> 46.626 s]
> [INFO] Zeppelin: Spark .................................... SKIPPED
> [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
> [INFO] Zeppelin: Angular interpreter ...................... SKIPPED
> [INFO] Zeppelin: Shell interpreter ........................ SKIPPED
> [INFO] Zeppelin: Hive interpreter ......................... SKIPPED
> [INFO] Zeppelin: HBase interpreter ........................ SKIPPED
> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED
> [INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
> [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED
> [INFO] Zeppelin: Tajo interpreter ......................... SKIPPED
> [INFO] Zeppelin: Flink .................................... SKIPPED
> [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
> [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
> [INFO] Zeppelin: Lens interpreter ......................... SKIPPED
> [INFO] Zeppelin: Cassandra ................................ SKIPPED
> [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
> [INFO] Zeppelin: Tachyon interpreter ...................... SKIPPED
> [INFO] Zeppelin: web Application .......................... SKIPPED
> [INFO] Zeppelin: Server ................................... SKIPPED
> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 02:37 min
> [INFO] Finished at: 2016-02-17T11:35:02-08:00
> [INFO] Final Memory: 61M/1897M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project zeppelin-spark-dependencies:
> Could not resolve dependencies for project
> org.apache.zeppelin:zeppelin-spark-dependencies:jar:0.6.0-incubating-SNAPSHOT:
> The following artifacts could not be resolved:
> org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1,
> org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.5.1: Could not find
> artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [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 :zeppelin-spark-dependencies
>
>
> Thanks,
>
> Abhi
>
> --
> Abhi Basu
>
>
>
>
> --
> Abhi Basu
>
>
>
>
>
> --
> Abhi Basu
>
>
>
>
> --
> Abhi Basu
>
>
>
>
> --
> Abhi Basu
>



-- 
Abhi Basu

Re: Maven buld issues - how to fix?

Posted by Felix Cheung <fe...@hotmail.com>.
CoolYes we should probably refactor / update that doc.






On Wed, Feb 17, 2016 at 2:10 PM -0800, "Abhi Basu" <90...@gmail.com> wrote:





installed nodejs, npm and set proxies on npm and bower. All set now.
Thanks!!

On Wed, Feb 17, 2016 at 1:45 PM, Abhi Basu <90...@gmail.com> wrote:

> Yes that is resolved now. Looks like I am missing npm on my system, which
> was not mentioned here -
> https://zeppelin.incubator.apache.org/docs/0.5.5-incubating/install/yarn_install.html.
> I will retry after I install npm.
>
> On Wed, Feb 17, 2016 at 1:42 PM, Felix Cheung <fe...@hotmail.com>
> wrote:
>
>> Would you happen to be in sync with the latest in the master branch? The
>> remote repo should be added with the profile switch -Pvendor-repo
>>
>>
>> Could not find artifact
>> org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
>> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [Help
>> 1]
>>
>>
>>
>>
>> On Wed, Feb 17, 2016 at 1:41 PM -0800, "Abhi Basu" <90...@gmail.com>
>> wrote:
>>
>> Yes, fixed to:
>> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
>> -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-repo -Pyarn -Ppyspark
>> -DskipTests
>>
>> Worked a lot better and get this now - npm install error.
>>
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Zeppelin ........................................... SUCCESS [
>>  4.066 s]
>> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
>>  7.700 s]
>> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>>  2.671 s]
>> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
>> 12.254 s]
>> [INFO] Zeppelin: Spark dependencies ....................... SUCCESS
>> [02:21 min]
>> [INFO] Zeppelin: Spark .................................... SUCCESS [
>> 19.453 s]
>> [INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [
>>  0.445 s]
>> [INFO] Zeppelin: Angular interpreter ...................... SUCCESS [
>>  0.245 s]
>> [INFO] Zeppelin: Shell interpreter ........................ SUCCESS [
>>  0.250 s]
>> [INFO] Zeppelin: Hive interpreter ......................... SUCCESS [
>>  6.179 s]
>> [INFO] Zeppelin: HBase interpreter ........................ SUCCESS [
>>  7.069 s]
>> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [
>>  8.575 s]
>> [INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [
>>  0.952 s]
>> [INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [
>>  0.382 s]
>> [INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [
>>  3.108 s]
>> [INFO] Zeppelin: Flink .................................... SUCCESS [
>> 23.038 s]
>> [INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [
>>  6.317 s]
>> [INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [
>>  0.349 s]
>> [INFO] Zeppelin: Lens interpreter ......................... SUCCESS [
>>  8.439 s]
>> [INFO] Zeppelin: Cassandra ................................ SUCCESS [
>> 59.175 s]
>> [INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [
>>  8.617 s]
>> [INFO] Zeppelin: Tachyon interpreter ...................... SUCCESS [
>>  5.560 s]
>> [INFO] Zeppelin: web Application .......................... FAILURE
>> [01:17 min]
>> [INFO] Zeppelin: Server ................................... SKIPPED
>> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 06:44 min
>> [INFO] Finished at: 2016-02-17T13:38:50-08:00
>> [INFO] Final Memory: 218M/3381M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> com.github.eirslett:frontend-maven-plugin:0.0.25:npm (npm install) on
>> project zeppelin-web: Failed to run task: 'npm install --color=false
>> --proxy=http://proxy.xx.xxxx.com:911' failed. (error code 1) -> [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 :zeppelin-web
>>
>>
>>
>>
>>
>>
>> On Wed, Feb 17, 2016 at 1:12 PM, Christopher Matta <cm...@mapr.com>
>> wrote:
>>
>> Just pointing out that you missed an ‘o’ at the end of -Pvendor-repo in
>> your build command.
>> ​
>>
>> Chris Matta
>> cmatta@mapr.com
>> 215-701-3146
>>
>> On Wed, Feb 17, 2016 at 3:54 PM, Abhi Basu <90...@gmail.com> wrote:
>>
>> Same error with:
>>
>> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
>> -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-rep -Pyarn -Ppyspark
>> -DskipTests
>>
>>
>> [root@cdh-lsedge incubator-zeppelin]# hadoop version
>> Hadoop 2.6.0-cdh5.5.1
>> Subversion http://github.com/cloudera/hadoop -r
>> e1581abbb6ab62b0a41b7ce6141d7280bf0c53da
>> Compiled by jenkins on 2015-12-02T18:38Z
>> Compiled with protoc 2.5.0
>> From source with checksum 98e07176d1787150a6a9c087627562c
>> This command was run using
>> /opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/hadoop-common-2.6.0-cdh5.5.1.jar
>>
>> Spark version 1.5.0
>>
>>
>> On Wed, Feb 17, 2016 at 12:45 PM, Felix Cheung <felixcheung_m@hotmail.com
>> > wrote:
>>
>> Try building with -Pvendor-repo
>>
>>
>>
>>
>>
>> On Wed, Feb 17, 2016 at 11:38 AM -0800, "Abhi Basu" <90...@gmail.com>
>> wrote:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Zeppelin ........................................... SUCCESS
>> [01:01 min]
>> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
>> 19.152 s]
>> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>>  9.324 s]
>> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
>> 20.503 s]
>> [INFO] Zeppelin: Spark dependencies ....................... FAILURE [
>> 46.626 s]
>> [INFO] Zeppelin: Spark .................................... SKIPPED
>> [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
>> [INFO] Zeppelin: Angular interpreter ...................... SKIPPED
>> [INFO] Zeppelin: Shell interpreter ........................ SKIPPED
>> [INFO] Zeppelin: Hive interpreter ......................... SKIPPED
>> [INFO] Zeppelin: HBase interpreter ........................ SKIPPED
>> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED
>> [INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
>> [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED
>> [INFO] Zeppelin: Tajo interpreter ......................... SKIPPED
>> [INFO] Zeppelin: Flink .................................... SKIPPED
>> [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
>> [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
>> [INFO] Zeppelin: Lens interpreter ......................... SKIPPED
>> [INFO] Zeppelin: Cassandra ................................ SKIPPED
>> [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
>> [INFO] Zeppelin: Tachyon interpreter ...................... SKIPPED
>> [INFO] Zeppelin: web Application .......................... SKIPPED
>> [INFO] Zeppelin: Server ................................... SKIPPED
>> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 02:37 min
>> [INFO] Finished at: 2016-02-17T11:35:02-08:00
>> [INFO] Final Memory: 61M/1897M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project zeppelin-spark-dependencies:
>> Could not resolve dependencies for project
>> org.apache.zeppelin:zeppelin-spark-dependencies:jar:0.6.0-incubating-SNAPSHOT:
>> The following artifacts could not be resolved:
>> org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1,
>> org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.5.1: Could not find
>> artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
>> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [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 :zeppelin-spark-dependencies
>>
>>
>> Thanks,
>>
>> Abhi
>>
>> --
>> Abhi Basu
>>
>>
>>
>>
>> --
>> Abhi Basu
>>
>>
>>
>>
>>
>> --
>> Abhi Basu
>>
>
>
>
> --
> Abhi Basu
>



--
Abhi Basu

Re: Maven buld issues - how to fix?

Posted by Abhi Basu <90...@gmail.com>.
installed nodejs, npm and set proxies on npm and bower. All set now.
Thanks!!

On Wed, Feb 17, 2016 at 1:45 PM, Abhi Basu <90...@gmail.com> wrote:

> Yes that is resolved now. Looks like I am missing npm on my system, which
> was not mentioned here -
> https://zeppelin.incubator.apache.org/docs/0.5.5-incubating/install/yarn_install.html.
> I will retry after I install npm.
>
> On Wed, Feb 17, 2016 at 1:42 PM, Felix Cheung <fe...@hotmail.com>
> wrote:
>
>> Would you happen to be in sync with the latest in the master branch? The
>> remote repo should be added with the profile switch -Pvendor-repo
>>
>>
>> Could not find artifact
>> org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
>> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [Help
>> 1]
>>
>>
>>
>>
>> On Wed, Feb 17, 2016 at 1:41 PM -0800, "Abhi Basu" <90...@gmail.com>
>> wrote:
>>
>> Yes, fixed to:
>> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
>> -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-repo -Pyarn -Ppyspark
>> -DskipTests
>>
>> Worked a lot better and get this now - npm install error.
>>
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Zeppelin ........................................... SUCCESS [
>>  4.066 s]
>> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
>>  7.700 s]
>> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>>  2.671 s]
>> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
>> 12.254 s]
>> [INFO] Zeppelin: Spark dependencies ....................... SUCCESS
>> [02:21 min]
>> [INFO] Zeppelin: Spark .................................... SUCCESS [
>> 19.453 s]
>> [INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [
>>  0.445 s]
>> [INFO] Zeppelin: Angular interpreter ...................... SUCCESS [
>>  0.245 s]
>> [INFO] Zeppelin: Shell interpreter ........................ SUCCESS [
>>  0.250 s]
>> [INFO] Zeppelin: Hive interpreter ......................... SUCCESS [
>>  6.179 s]
>> [INFO] Zeppelin: HBase interpreter ........................ SUCCESS [
>>  7.069 s]
>> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [
>>  8.575 s]
>> [INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [
>>  0.952 s]
>> [INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [
>>  0.382 s]
>> [INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [
>>  3.108 s]
>> [INFO] Zeppelin: Flink .................................... SUCCESS [
>> 23.038 s]
>> [INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [
>>  6.317 s]
>> [INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [
>>  0.349 s]
>> [INFO] Zeppelin: Lens interpreter ......................... SUCCESS [
>>  8.439 s]
>> [INFO] Zeppelin: Cassandra ................................ SUCCESS [
>> 59.175 s]
>> [INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [
>>  8.617 s]
>> [INFO] Zeppelin: Tachyon interpreter ...................... SUCCESS [
>>  5.560 s]
>> [INFO] Zeppelin: web Application .......................... FAILURE
>> [01:17 min]
>> [INFO] Zeppelin: Server ................................... SKIPPED
>> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 06:44 min
>> [INFO] Finished at: 2016-02-17T13:38:50-08:00
>> [INFO] Final Memory: 218M/3381M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> com.github.eirslett:frontend-maven-plugin:0.0.25:npm (npm install) on
>> project zeppelin-web: Failed to run task: 'npm install --color=false
>> --proxy=http://proxy.xx.xxxx.com:911' failed. (error code 1) -> [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 :zeppelin-web
>>
>>
>>
>>
>>
>>
>> On Wed, Feb 17, 2016 at 1:12 PM, Christopher Matta <cm...@mapr.com>
>> wrote:
>>
>> Just pointing out that you missed an ‘o’ at the end of -Pvendor-repo in
>> your build command.
>> ​
>>
>> Chris Matta
>> cmatta@mapr.com
>> 215-701-3146
>>
>> On Wed, Feb 17, 2016 at 3:54 PM, Abhi Basu <90...@gmail.com> wrote:
>>
>> Same error with:
>>
>> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
>> -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-rep -Pyarn -Ppyspark
>> -DskipTests
>>
>>
>> [root@cdh-lsedge incubator-zeppelin]# hadoop version
>> Hadoop 2.6.0-cdh5.5.1
>> Subversion http://github.com/cloudera/hadoop -r
>> e1581abbb6ab62b0a41b7ce6141d7280bf0c53da
>> Compiled by jenkins on 2015-12-02T18:38Z
>> Compiled with protoc 2.5.0
>> From source with checksum 98e07176d1787150a6a9c087627562c
>> This command was run using
>> /opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/hadoop-common-2.6.0-cdh5.5.1.jar
>>
>> Spark version 1.5.0
>>
>>
>> On Wed, Feb 17, 2016 at 12:45 PM, Felix Cheung <felixcheung_m@hotmail.com
>> > wrote:
>>
>> Try building with -Pvendor-repo
>>
>>
>>
>>
>>
>> On Wed, Feb 17, 2016 at 11:38 AM -0800, "Abhi Basu" <90...@gmail.com>
>> wrote:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Zeppelin ........................................... SUCCESS
>> [01:01 min]
>> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
>> 19.152 s]
>> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>>  9.324 s]
>> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
>> 20.503 s]
>> [INFO] Zeppelin: Spark dependencies ....................... FAILURE [
>> 46.626 s]
>> [INFO] Zeppelin: Spark .................................... SKIPPED
>> [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
>> [INFO] Zeppelin: Angular interpreter ...................... SKIPPED
>> [INFO] Zeppelin: Shell interpreter ........................ SKIPPED
>> [INFO] Zeppelin: Hive interpreter ......................... SKIPPED
>> [INFO] Zeppelin: HBase interpreter ........................ SKIPPED
>> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED
>> [INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
>> [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED
>> [INFO] Zeppelin: Tajo interpreter ......................... SKIPPED
>> [INFO] Zeppelin: Flink .................................... SKIPPED
>> [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
>> [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
>> [INFO] Zeppelin: Lens interpreter ......................... SKIPPED
>> [INFO] Zeppelin: Cassandra ................................ SKIPPED
>> [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
>> [INFO] Zeppelin: Tachyon interpreter ...................... SKIPPED
>> [INFO] Zeppelin: web Application .......................... SKIPPED
>> [INFO] Zeppelin: Server ................................... SKIPPED
>> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 02:37 min
>> [INFO] Finished at: 2016-02-17T11:35:02-08:00
>> [INFO] Final Memory: 61M/1897M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project zeppelin-spark-dependencies:
>> Could not resolve dependencies for project
>> org.apache.zeppelin:zeppelin-spark-dependencies:jar:0.6.0-incubating-SNAPSHOT:
>> The following artifacts could not be resolved:
>> org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1,
>> org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.5.1: Could not find
>> artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
>> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [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 :zeppelin-spark-dependencies
>>
>>
>> Thanks,
>>
>> Abhi
>>
>> --
>> Abhi Basu
>>
>>
>>
>>
>> --
>> Abhi Basu
>>
>>
>>
>>
>>
>> --
>> Abhi Basu
>>
>
>
>
> --
> Abhi Basu
>



-- 
Abhi Basu

Re: Maven buld issues - how to fix?

Posted by Abhi Basu <90...@gmail.com>.
Yes that is resolved now. Looks like I am missing npm on my system, which
was not mentioned here -
https://zeppelin.incubator.apache.org/docs/0.5.5-incubating/install/yarn_install.html.
I will retry after I install npm.

On Wed, Feb 17, 2016 at 1:42 PM, Felix Cheung <fe...@hotmail.com>
wrote:

> Would you happen to be in sync with the latest in the master branch? The
> remote repo should be added with the profile switch -Pvendor-repo
>
>
> Could not find artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1
> in gaomaven (
> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [Help 1]
>
>
>
>
> On Wed, Feb 17, 2016 at 1:41 PM -0800, "Abhi Basu" <90...@gmail.com>
> wrote:
>
> Yes, fixed to:
> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
> -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-repo -Pyarn -Ppyspark
> -DskipTests
>
> Worked a lot better and get this now - npm install error.
>
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Zeppelin ........................................... SUCCESS [
>  4.066 s]
> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
>  7.700 s]
> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>  2.671 s]
> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
> 12.254 s]
> [INFO] Zeppelin: Spark dependencies ....................... SUCCESS [02:21
> min]
> [INFO] Zeppelin: Spark .................................... SUCCESS [
> 19.453 s]
> [INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [
>  0.445 s]
> [INFO] Zeppelin: Angular interpreter ...................... SUCCESS [
>  0.245 s]
> [INFO] Zeppelin: Shell interpreter ........................ SUCCESS [
>  0.250 s]
> [INFO] Zeppelin: Hive interpreter ......................... SUCCESS [
>  6.179 s]
> [INFO] Zeppelin: HBase interpreter ........................ SUCCESS [
>  7.069 s]
> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [
>  8.575 s]
> [INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [
>  0.952 s]
> [INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [
>  0.382 s]
> [INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [
>  3.108 s]
> [INFO] Zeppelin: Flink .................................... SUCCESS [
> 23.038 s]
> [INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [
>  6.317 s]
> [INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [
>  0.349 s]
> [INFO] Zeppelin: Lens interpreter ......................... SUCCESS [
>  8.439 s]
> [INFO] Zeppelin: Cassandra ................................ SUCCESS [
> 59.175 s]
> [INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [
>  8.617 s]
> [INFO] Zeppelin: Tachyon interpreter ...................... SUCCESS [
>  5.560 s]
> [INFO] Zeppelin: web Application .......................... FAILURE [01:17
> min]
> [INFO] Zeppelin: Server ................................... SKIPPED
> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 06:44 min
> [INFO] Finished at: 2016-02-17T13:38:50-08:00
> [INFO] Final Memory: 218M/3381M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:0.0.25:npm (npm install) on
> project zeppelin-web: Failed to run task: 'npm install --color=false
> --proxy=http://proxy.xx.xxxx.com:911' failed. (error code 1) -> [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 :zeppelin-web
>
>
>
>
>
>
> On Wed, Feb 17, 2016 at 1:12 PM, Christopher Matta <cm...@mapr.com>
> wrote:
>
> Just pointing out that you missed an ‘o’ at the end of -Pvendor-repo in
> your build command.
> ​
>
> Chris Matta
> cmatta@mapr.com
> 215-701-3146
>
> On Wed, Feb 17, 2016 at 3:54 PM, Abhi Basu <90...@gmail.com> wrote:
>
> Same error with:
>
> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
> -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-rep -Pyarn -Ppyspark
> -DskipTests
>
>
> [root@cdh-lsedge incubator-zeppelin]# hadoop version
> Hadoop 2.6.0-cdh5.5.1
> Subversion http://github.com/cloudera/hadoop -r
> e1581abbb6ab62b0a41b7ce6141d7280bf0c53da
> Compiled by jenkins on 2015-12-02T18:38Z
> Compiled with protoc 2.5.0
> From source with checksum 98e07176d1787150a6a9c087627562c
> This command was run using
> /opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/hadoop-common-2.6.0-cdh5.5.1.jar
>
> Spark version 1.5.0
>
>
> On Wed, Feb 17, 2016 at 12:45 PM, Felix Cheung <fe...@hotmail.com>
> wrote:
>
> Try building with -Pvendor-repo
>
>
>
>
>
> On Wed, Feb 17, 2016 at 11:38 AM -0800, "Abhi Basu" <90...@gmail.com>
> wrote:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Zeppelin ........................................... SUCCESS [01:01
> min]
> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
> 19.152 s]
> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>  9.324 s]
> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
> 20.503 s]
> [INFO] Zeppelin: Spark dependencies ....................... FAILURE [
> 46.626 s]
> [INFO] Zeppelin: Spark .................................... SKIPPED
> [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
> [INFO] Zeppelin: Angular interpreter ...................... SKIPPED
> [INFO] Zeppelin: Shell interpreter ........................ SKIPPED
> [INFO] Zeppelin: Hive interpreter ......................... SKIPPED
> [INFO] Zeppelin: HBase interpreter ........................ SKIPPED
> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED
> [INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
> [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED
> [INFO] Zeppelin: Tajo interpreter ......................... SKIPPED
> [INFO] Zeppelin: Flink .................................... SKIPPED
> [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
> [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
> [INFO] Zeppelin: Lens interpreter ......................... SKIPPED
> [INFO] Zeppelin: Cassandra ................................ SKIPPED
> [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
> [INFO] Zeppelin: Tachyon interpreter ...................... SKIPPED
> [INFO] Zeppelin: web Application .......................... SKIPPED
> [INFO] Zeppelin: Server ................................... SKIPPED
> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 02:37 min
> [INFO] Finished at: 2016-02-17T11:35:02-08:00
> [INFO] Final Memory: 61M/1897M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project zeppelin-spark-dependencies:
> Could not resolve dependencies for project
> org.apache.zeppelin:zeppelin-spark-dependencies:jar:0.6.0-incubating-SNAPSHOT:
> The following artifacts could not be resolved:
> org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1,
> org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.5.1: Could not find
> artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [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 :zeppelin-spark-dependencies
>
>
> Thanks,
>
> Abhi
>
> --
> Abhi Basu
>
>
>
>
> --
> Abhi Basu
>
>
>
>
>
> --
> Abhi Basu
>



-- 
Abhi Basu

Re: Maven buld issues - how to fix?

Posted by Felix Cheung <fe...@hotmail.com>.
Would you happen to be in sync with the latest in the master branch? The remote repo should be added with the profile switch -Pvendor-repo

Could not find artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven ( http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [Help 1]





On Wed, Feb 17, 2016 at 1:41 PM -0800, "Abhi Basu" <90...@gmail.com> wrote:





Yes, fixed to:
mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
-Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-repo -Pyarn -Ppyspark
-DskipTests

Worked a lot better and get this now - npm install error.

[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [
 4.066 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [
 7.700 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [
 2.671 s]
[INFO] Zeppelin: Display system apis ...................... SUCCESS [
12.254 s]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [02:21
min]
[INFO] Zeppelin: Spark .................................... SUCCESS [
19.453 s]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [
 0.445 s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [
 0.245 s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [
 0.250 s]
[INFO] Zeppelin: Hive interpreter ......................... SUCCESS [
 6.179 s]
[INFO] Zeppelin: HBase interpreter ........................ SUCCESS [
 7.069 s]
[INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [
 8.575 s]
[INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [
 0.952 s]
[INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [
 0.382 s]
[INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [
 3.108 s]
[INFO] Zeppelin: Flink .................................... SUCCESS [
23.038 s]
[INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [
 6.317 s]
[INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [
 0.349 s]
[INFO] Zeppelin: Lens interpreter ......................... SUCCESS [
 8.439 s]
[INFO] Zeppelin: Cassandra ................................ SUCCESS [
59.175 s]
[INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [
 8.617 s]
[INFO] Zeppelin: Tachyon interpreter ...................... SUCCESS [
 5.560 s]
[INFO] Zeppelin: web Application .......................... FAILURE [01:17
min]
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 06:44 min
[INFO] Finished at: 2016-02-17T13:38:50-08:00
[INFO] Final Memory: 218M/3381M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.eirslett:frontend-maven-plugin:0.0.25:npm (npm install) on
project zeppelin-web: Failed to run task: 'npm install --color=false
--proxy=http://proxy.xx.xxxx.com:911' failed. (error code 1) -> [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 :zeppelin-web






On Wed, Feb 17, 2016 at 1:12 PM, Christopher Matta <cm...@mapr.com> wrote:

> Just pointing out that you missed an ‘o’ at the end of -Pvendor-repo in
> your build command.
> ​
>
> Chris Matta
> cmatta@mapr.com
> 215-701-3146
>
> On Wed, Feb 17, 2016 at 3:54 PM, Abhi Basu <90...@gmail.com> wrote:
>
>> Same error with:
>>
>> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
>> -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-rep -Pyarn -Ppyspark
>> -DskipTests
>>
>>
>> [root@cdh-lsedge incubator-zeppelin]# hadoop version
>> Hadoop 2.6.0-cdh5.5.1
>> Subversion http://github.com/cloudera/hadoop -r
>> e1581abbb6ab62b0a41b7ce6141d7280bf0c53da
>> Compiled by jenkins on 2015-12-02T18:38Z
>> Compiled with protoc 2.5.0
>> From source with checksum 98e07176d1787150a6a9c087627562c
>> This command was run using
>> /opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/hadoop-common-2.6.0-cdh5.5.1.jar
>>
>> Spark version 1.5.0
>>
>>
>> On Wed, Feb 17, 2016 at 12:45 PM, Felix Cheung <felixcheung_m@hotmail.com
>> > wrote:
>>
>>> Try building with -Pvendor-repo
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Feb 17, 2016 at 11:38 AM -0800, "Abhi Basu" <90...@gmail.com>
>>> wrote:
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Zeppelin ........................................... SUCCESS
>>> [01:01 min]
>>> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
>>> 19.152 s]
>>> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>>>  9.324 s]
>>> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
>>> 20.503 s]
>>> [INFO] Zeppelin: Spark dependencies ....................... FAILURE [
>>> 46.626 s]
>>> [INFO] Zeppelin: Spark .................................... SKIPPED
>>> [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
>>> [INFO] Zeppelin: Angular interpreter ...................... SKIPPED
>>> [INFO] Zeppelin: Shell interpreter ........................ SKIPPED
>>> [INFO] Zeppelin: Hive interpreter ......................... SKIPPED
>>> [INFO] Zeppelin: HBase interpreter ........................ SKIPPED
>>> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED
>>> [INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
>>> [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED
>>> [INFO] Zeppelin: Tajo interpreter ......................... SKIPPED
>>> [INFO] Zeppelin: Flink .................................... SKIPPED
>>> [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
>>> [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
>>> [INFO] Zeppelin: Lens interpreter ......................... SKIPPED
>>> [INFO] Zeppelin: Cassandra ................................ SKIPPED
>>> [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
>>> [INFO] Zeppelin: Tachyon interpreter ...................... SKIPPED
>>> [INFO] Zeppelin: web Application .......................... SKIPPED
>>> [INFO] Zeppelin: Server ................................... SKIPPED
>>> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 02:37 min
>>> [INFO] Finished at: 2016-02-17T11:35:02-08:00
>>> [INFO] Final Memory: 61M/1897M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal on project zeppelin-spark-dependencies:
>>> Could not resolve dependencies for project
>>> org.apache.zeppelin:zeppelin-spark-dependencies:jar:0.6.0-incubating-SNAPSHOT:
>>> The following artifacts could not be resolved:
>>> org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1,
>>> org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.5.1: Could not find
>>> artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
>>> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [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 :zeppelin-spark-dependencies
>>>
>>>
>>> Thanks,
>>>
>>> Abhi
>>>
>>> --
>>> Abhi Basu
>>>
>>
>>
>>
>> --
>> Abhi Basu
>>
>
>


--
Abhi Basu

Re: Maven buld issues - how to fix?

Posted by Abhi Basu <90...@gmail.com>.
Yes, fixed to:
mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
-Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-repo -Pyarn -Ppyspark
-DskipTests

Worked a lot better and get this now - npm install error.

[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [
 4.066 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [
 7.700 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [
 2.671 s]
[INFO] Zeppelin: Display system apis ...................... SUCCESS [
12.254 s]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [02:21
min]
[INFO] Zeppelin: Spark .................................... SUCCESS [
19.453 s]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [
 0.445 s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [
 0.245 s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [
 0.250 s]
[INFO] Zeppelin: Hive interpreter ......................... SUCCESS [
 6.179 s]
[INFO] Zeppelin: HBase interpreter ........................ SUCCESS [
 7.069 s]
[INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [
 8.575 s]
[INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [
 0.952 s]
[INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [
 0.382 s]
[INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [
 3.108 s]
[INFO] Zeppelin: Flink .................................... SUCCESS [
23.038 s]
[INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [
 6.317 s]
[INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [
 0.349 s]
[INFO] Zeppelin: Lens interpreter ......................... SUCCESS [
 8.439 s]
[INFO] Zeppelin: Cassandra ................................ SUCCESS [
59.175 s]
[INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [
 8.617 s]
[INFO] Zeppelin: Tachyon interpreter ...................... SUCCESS [
 5.560 s]
[INFO] Zeppelin: web Application .......................... FAILURE [01:17
min]
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 06:44 min
[INFO] Finished at: 2016-02-17T13:38:50-08:00
[INFO] Final Memory: 218M/3381M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.eirslett:frontend-maven-plugin:0.0.25:npm (npm install) on
project zeppelin-web: Failed to run task: 'npm install --color=false
--proxy=http://proxy.xx.xxxx.com:911' failed. (error code 1) -> [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 :zeppelin-web






On Wed, Feb 17, 2016 at 1:12 PM, Christopher Matta <cm...@mapr.com> wrote:

> Just pointing out that you missed an ‘o’ at the end of -Pvendor-repo in
> your build command.
> ​
>
> Chris Matta
> cmatta@mapr.com
> 215-701-3146
>
> On Wed, Feb 17, 2016 at 3:54 PM, Abhi Basu <90...@gmail.com> wrote:
>
>> Same error with:
>>
>> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
>> -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-rep -Pyarn -Ppyspark
>> -DskipTests
>>
>>
>> [root@cdh-lsedge incubator-zeppelin]# hadoop version
>> Hadoop 2.6.0-cdh5.5.1
>> Subversion http://github.com/cloudera/hadoop -r
>> e1581abbb6ab62b0a41b7ce6141d7280bf0c53da
>> Compiled by jenkins on 2015-12-02T18:38Z
>> Compiled with protoc 2.5.0
>> From source with checksum 98e07176d1787150a6a9c087627562c
>> This command was run using
>> /opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/hadoop-common-2.6.0-cdh5.5.1.jar
>>
>> Spark version 1.5.0
>>
>>
>> On Wed, Feb 17, 2016 at 12:45 PM, Felix Cheung <felixcheung_m@hotmail.com
>> > wrote:
>>
>>> Try building with -Pvendor-repo
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Feb 17, 2016 at 11:38 AM -0800, "Abhi Basu" <90...@gmail.com>
>>> wrote:
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Zeppelin ........................................... SUCCESS
>>> [01:01 min]
>>> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
>>> 19.152 s]
>>> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>>>  9.324 s]
>>> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
>>> 20.503 s]
>>> [INFO] Zeppelin: Spark dependencies ....................... FAILURE [
>>> 46.626 s]
>>> [INFO] Zeppelin: Spark .................................... SKIPPED
>>> [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
>>> [INFO] Zeppelin: Angular interpreter ...................... SKIPPED
>>> [INFO] Zeppelin: Shell interpreter ........................ SKIPPED
>>> [INFO] Zeppelin: Hive interpreter ......................... SKIPPED
>>> [INFO] Zeppelin: HBase interpreter ........................ SKIPPED
>>> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED
>>> [INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
>>> [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED
>>> [INFO] Zeppelin: Tajo interpreter ......................... SKIPPED
>>> [INFO] Zeppelin: Flink .................................... SKIPPED
>>> [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
>>> [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
>>> [INFO] Zeppelin: Lens interpreter ......................... SKIPPED
>>> [INFO] Zeppelin: Cassandra ................................ SKIPPED
>>> [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
>>> [INFO] Zeppelin: Tachyon interpreter ...................... SKIPPED
>>> [INFO] Zeppelin: web Application .......................... SKIPPED
>>> [INFO] Zeppelin: Server ................................... SKIPPED
>>> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 02:37 min
>>> [INFO] Finished at: 2016-02-17T11:35:02-08:00
>>> [INFO] Final Memory: 61M/1897M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal on project zeppelin-spark-dependencies:
>>> Could not resolve dependencies for project
>>> org.apache.zeppelin:zeppelin-spark-dependencies:jar:0.6.0-incubating-SNAPSHOT:
>>> The following artifacts could not be resolved:
>>> org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1,
>>> org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.5.1: Could not find
>>> artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
>>> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [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 :zeppelin-spark-dependencies
>>>
>>>
>>> Thanks,
>>>
>>> Abhi
>>>
>>> --
>>> Abhi Basu
>>>
>>
>>
>>
>> --
>> Abhi Basu
>>
>
>


-- 
Abhi Basu

Re: Maven buld issues - how to fix?

Posted by Christopher Matta <cm...@mapr.com>.
Just pointing out that you missed an ‘o’ at the end of -Pvendor-repo in
your build command.
​

Chris Matta
cmatta@mapr.com
215-701-3146

On Wed, Feb 17, 2016 at 3:54 PM, Abhi Basu <90...@gmail.com> wrote:

> Same error with:
>
> mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
> -Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-rep -Pyarn -Ppyspark
> -DskipTests
>
>
> [root@cdh-lsedge incubator-zeppelin]# hadoop version
> Hadoop 2.6.0-cdh5.5.1
> Subversion http://github.com/cloudera/hadoop -r
> e1581abbb6ab62b0a41b7ce6141d7280bf0c53da
> Compiled by jenkins on 2015-12-02T18:38Z
> Compiled with protoc 2.5.0
> From source with checksum 98e07176d1787150a6a9c087627562c
> This command was run using
> /opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/hadoop-common-2.6.0-cdh5.5.1.jar
>
> Spark version 1.5.0
>
>
> On Wed, Feb 17, 2016 at 12:45 PM, Felix Cheung <fe...@hotmail.com>
> wrote:
>
>> Try building with -Pvendor-repo
>>
>>
>>
>>
>>
>> On Wed, Feb 17, 2016 at 11:38 AM -0800, "Abhi Basu" <90...@gmail.com>
>> wrote:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Zeppelin ........................................... SUCCESS
>> [01:01 min]
>> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
>> 19.152 s]
>> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>>  9.324 s]
>> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
>> 20.503 s]
>> [INFO] Zeppelin: Spark dependencies ....................... FAILURE [
>> 46.626 s]
>> [INFO] Zeppelin: Spark .................................... SKIPPED
>> [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
>> [INFO] Zeppelin: Angular interpreter ...................... SKIPPED
>> [INFO] Zeppelin: Shell interpreter ........................ SKIPPED
>> [INFO] Zeppelin: Hive interpreter ......................... SKIPPED
>> [INFO] Zeppelin: HBase interpreter ........................ SKIPPED
>> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED
>> [INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
>> [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED
>> [INFO] Zeppelin: Tajo interpreter ......................... SKIPPED
>> [INFO] Zeppelin: Flink .................................... SKIPPED
>> [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
>> [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
>> [INFO] Zeppelin: Lens interpreter ......................... SKIPPED
>> [INFO] Zeppelin: Cassandra ................................ SKIPPED
>> [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
>> [INFO] Zeppelin: Tachyon interpreter ...................... SKIPPED
>> [INFO] Zeppelin: web Application .......................... SKIPPED
>> [INFO] Zeppelin: Server ................................... SKIPPED
>> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 02:37 min
>> [INFO] Finished at: 2016-02-17T11:35:02-08:00
>> [INFO] Final Memory: 61M/1897M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project zeppelin-spark-dependencies:
>> Could not resolve dependencies for project
>> org.apache.zeppelin:zeppelin-spark-dependencies:jar:0.6.0-incubating-SNAPSHOT:
>> The following artifacts could not be resolved:
>> org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1,
>> org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.5.1: Could not find
>> artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
>> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [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 :zeppelin-spark-dependencies
>>
>>
>> Thanks,
>>
>> Abhi
>>
>> --
>> Abhi Basu
>>
>
>
>
> --
> Abhi Basu
>

Re: Maven buld issues - how to fix?

Posted by Abhi Basu <90...@gmail.com>.
Same error with:

mvn clean package -Pspark-1.5 -Dspark.version=1.5.0
-Dhadoop.version=2.6.0-cdh5.5.1 -Phadoop-2.6 -Pvendor-rep -Pyarn -Ppyspark
-DskipTests


[root@cdh-lsedge incubator-zeppelin]# hadoop version
Hadoop 2.6.0-cdh5.5.1
Subversion http://github.com/cloudera/hadoop -r
e1581abbb6ab62b0a41b7ce6141d7280bf0c53da
Compiled by jenkins on 2015-12-02T18:38Z
Compiled with protoc 2.5.0
>From source with checksum 98e07176d1787150a6a9c087627562c
This command was run using
/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/hadoop-common-2.6.0-cdh5.5.1.jar

Spark version 1.5.0


On Wed, Feb 17, 2016 at 12:45 PM, Felix Cheung <fe...@hotmail.com>
wrote:

> Try building with -Pvendor-repo
>
>
>
>
>
> On Wed, Feb 17, 2016 at 11:38 AM -0800, "Abhi Basu" <90...@gmail.com>
> wrote:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Zeppelin ........................................... SUCCESS [01:01
> min]
> [INFO] Zeppelin: Interpreter .............................. SUCCESS [
> 19.152 s]
> [INFO] Zeppelin: Zengine .................................. SUCCESS [
>  9.324 s]
> [INFO] Zeppelin: Display system apis ...................... SUCCESS [
> 20.503 s]
> [INFO] Zeppelin: Spark dependencies ....................... FAILURE [
> 46.626 s]
> [INFO] Zeppelin: Spark .................................... SKIPPED
> [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
> [INFO] Zeppelin: Angular interpreter ...................... SKIPPED
> [INFO] Zeppelin: Shell interpreter ........................ SKIPPED
> [INFO] Zeppelin: Hive interpreter ......................... SKIPPED
> [INFO] Zeppelin: HBase interpreter ........................ SKIPPED
> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED
> [INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
> [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED
> [INFO] Zeppelin: Tajo interpreter ......................... SKIPPED
> [INFO] Zeppelin: Flink .................................... SKIPPED
> [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
> [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
> [INFO] Zeppelin: Lens interpreter ......................... SKIPPED
> [INFO] Zeppelin: Cassandra ................................ SKIPPED
> [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
> [INFO] Zeppelin: Tachyon interpreter ...................... SKIPPED
> [INFO] Zeppelin: web Application .......................... SKIPPED
> [INFO] Zeppelin: Server ................................... SKIPPED
> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 02:37 min
> [INFO] Finished at: 2016-02-17T11:35:02-08:00
> [INFO] Final Memory: 61M/1897M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project zeppelin-spark-dependencies:
> Could not resolve dependencies for project
> org.apache.zeppelin:zeppelin-spark-dependencies:jar:0.6.0-incubating-SNAPSHOT:
> The following artifacts could not be resolved:
> org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1,
> org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.5.1: Could not find
> artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
> http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [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 :zeppelin-spark-dependencies
>
>
> Thanks,
>
> Abhi
>
> --
> Abhi Basu
>



-- 
Abhi Basu

Re: Maven buld issues - how to fix?

Posted by Felix Cheung <fe...@hotmail.com>.
Try building with -Pvendor-repo






On Wed, Feb 17, 2016 at 11:38 AM -0800, "Abhi Basu" <90...@gmail.com> wrote:





[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [01:01
min]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [
19.152 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [
 9.324 s]
[INFO] Zeppelin: Display system apis ...................... SUCCESS [
20.503 s]
[INFO] Zeppelin: Spark dependencies ....................... FAILURE [
46.626 s]
[INFO] Zeppelin: Spark .................................... SKIPPED
[INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
[INFO] Zeppelin: Angular interpreter ...................... SKIPPED
[INFO] Zeppelin: Shell interpreter ........................ SKIPPED
[INFO] Zeppelin: Hive interpreter ......................... SKIPPED
[INFO] Zeppelin: HBase interpreter ........................ SKIPPED
[INFO] Zeppelin: Apache Phoenix Interpreter ............... SKIPPED
[INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
[INFO] Zeppelin: JDBC interpreter ......................... SKIPPED
[INFO] Zeppelin: Tajo interpreter ......................... SKIPPED
[INFO] Zeppelin: Flink .................................... SKIPPED
[INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
[INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
[INFO] Zeppelin: Lens interpreter ......................... SKIPPED
[INFO] Zeppelin: Cassandra ................................ SKIPPED
[INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
[INFO] Zeppelin: Tachyon interpreter ...................... SKIPPED
[INFO] Zeppelin: web Application .......................... SKIPPED
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:37 min
[INFO] Finished at: 2016-02-17T11:35:02-08:00
[INFO] Final Memory: 61M/1897M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project zeppelin-spark-dependencies:
Could not resolve dependencies for project
org.apache.zeppelin:zeppelin-spark-dependencies:jar:0.6.0-incubating-SNAPSHOT:
The following artifacts could not be resolved:
org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1,
org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.5.1: Could not find
artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1 in gaomaven (
http://gaomaven.jf.intel.com:8081/nexus/content/groups/public) -> [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 :zeppelin-spark-dependencies


Thanks,

Abhi

--
Abhi Basu