Su, what is your maven version? swkim@SangWoos-MacBook-Pro:~$ mvn -version Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T22:51:42+09:00) Maven home: /usr/local/Cellar/maven/3.2.2/libexec Java version: 1.7.0_60, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.10.1", arch: "x86_64", family: "mac"
I guess it's common to use maven3. Will you check it? On Mon Feb 23 2015 at 3:13:13 PM Su She <[email protected]> wrote: > Hi Kevin, that is actually the version I have been using so far haha... > > Best, > > Su > > On Fri, Feb 20, 2015 at 9:17 PM, Kevin Kim (Sangwoo) <[email protected]> > wrote: > > > Well, you might just use 'git clone https://github.com/NFLabs/ > zeppelin.git > > ' > > as usual.. > > Are you still getting same error? > > > > On Thu Feb 19 2015 at 3:45:24 PM Su She <[email protected]> wrote: > > > > > Yea, I thought so as well. I'm not sure how to solve this problem. I > use > > > maven for other projects on my instance and they have no problem > creating > > > the target directories for my jar files. I tried doing sudo, but it > says > > > mvm command not recognized. Is there a way I should download the repo > > from > > > github? > > > > > > Thanks a lot for the help! > > > > > > On Wed, Feb 18, 2015 at 8:55 PM, Kevin Kim (Sangwoo) <[email protected] > > > > > wrote: > > > > > > > OMG, > > > > It seems you're getting similar error again. Could it be a permission > > > > issue? can you write something in target directory? > > > > > > > > On Thu Feb 19 2015 at 12:04:27 PM Su She <[email protected]> > > wrote: > > > > > > > > > Okay, I see. I guess I will wait then for that to come to US :). > > > > > > > > > > This is the error when I deleted the checkstyle plugin and ran mvn > > with > > > > -e > > > > > > > > > > [ERROR] Failed to execute goal > > > > > org.apache.maven.plugins:maven-resources-plugin:2.7:copy-resources > > > > > (copy-resources) on project zeppelin-zengine: Cannot create > resource > > > > output > > > > > directory: /home/ec2-user/zeppelin/zeppelin-zengine/target/site -> > > > [Help > > > > > 1] > > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > > > execute > > > > > goal org.apache.maven.plugins:maven-resources-plugin:2.7: > > > copy-resources > > > > > (copy-resources) on project zeppelin-zengine: Cannot create > resource > > > > output > > > > > directory: /home/ec2-user/zeppelin/zeppelin-zengine/target/site > > > > > at > > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute( > > > > > MojoExecutor.java:216) > > > > > at > > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute( > > > > > MojoExecutor.java:153) > > > > > at > > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute( > > > > > MojoExecutor.java:145) > > > > > at > > > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder. > > > buildProject( > > > > > LifecycleModuleBuilder.java:116) > > > > > at > > > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder. > > > buildProject( > > > > > LifecycleModuleBuilder.java:80) > > > > > at > > > > > org.apache.maven.lifecycle.internal.builder.singlethreaded. > > > > > SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > > > > > at > > > > > org.apache.maven.lifecycle.internal.LifecycleStarter. > > > > > execute(LifecycleStarter.java:120) > > > > > at org.apache.maven.DefaultMaven. > doExecute(DefaultMaven.java: > > > 355) > > > > > at org.apache.maven.DefaultMaven. > > > execute(DefaultMaven.java:155) > > > > > at org.apache.maven.cli.MavenCli. > execute(MavenCli.java:584) > > > > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) > > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > Method) > > > > > at > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke( > > > NativeMethodAccessorImpl.java: > > > > > 57) > > > > > at > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke( > > > > > DelegatingMethodAccessorImpl.java:43) > > > > > at java.lang.reflect.Method.invoke(Method.java:606) > > > > > at > > > > > org.codehaus.plexus.classworlds.launcher.Launcher. > > > > > launchEnhanced(Launcher.java:289) > > > > > at > > > > > org.codehaus.plexus.classworlds.launcher.Launcher. > > > > > launch(Launcher.java:229) > > > > > at > > > > > org.codehaus.plexus.classworlds.launcher.Launcher. > > > > > mainWithExitCode(Launcher.java:415) > > > > > at > > > > > org.codehaus.plexus.classworlds.launcher.Launcher. > > > main(Launcher.java:356) > > > > > Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot > > > create > > > > > resource output directory: > > > > > /home/ec2-user/zeppelin/zeppelin-zengine/target/site > > > > > at > > > > > org.apache.maven.plugin.resources.ResourcesMojo. > > > > > execute(ResourcesMojo.java:306) > > > > > at > > > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo( > > > > > DefaultBuildPluginManager.java:132) > > > > > at > > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute( > > > > > MojoExecutor.java:208) > > > > > ... 19 more > > > > > Caused by: org.apache.maven.shared.filtering. > MavenFilteringException: > > > > > Cannot create resource output directory: > > > > > /home/ec2-user/zeppelin/zeppelin-zengine/target/site > > > > > at > > > > > org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering > > > > > .filterResources(DefaultMavenResourcesFiltering.java:219) > > > > > at > > > > > org.apache.maven.plugin.resources.ResourcesMojo. > > > > > execute(ResourcesMojo.java:300) > > > > > > > > > > > > > > > On Wed, Feb 18, 2015 at 6:45 PM, Kevin Kim (Sangwoo) < > > [email protected] > > > > > > > > > wrote: > > > > > > > > > > > I guess the AMI is only available on the Tokyo region. > > > > > > (Not very sure how sharing ami works across regions..) > > > > > > > > > > > > For your error, checkstyle is just a code style checker and not > the > > > > > > necessary one. > > > > > > Would you just delete checkstyle-related in pom.xml and try > again? > > > > > > > > > > > > > > > > > > On Thu Feb 19 2015 at 11:30:48 AM Su She <[email protected]> > > > > wrote: > > > > > > > > > > > > > Hello Kevin, > > > > > > > > > > > > > > I am still getting the same issue :/. I don't think disk space > is > > > an > > > > > > issue, > > > > > > > I am only using ~20% of my disk space. > > > > > > > > > > > > > > Also, how do I get the AWS instance pre loaded with Zeppelin? I > > > > > searched > > > > > > > for the ami id (ami-b1bd5bb1) on community AMIs on AWS and did > > not > > > > get > > > > > > any > > > > > > > results. > > > > > > > > > > > > > > Thanks! > > > > > > > > > > > > > > On Wed, Feb 18, 2015 at 5:27 PM, Kevin Kim (Sangwoo) < > > > > [email protected] > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > Hello Su, > > > > > > > > Have you resovled the problem? > > > > > > > > (It seems like you're running out of disk space or getting > > > > something > > > > > > > > similar problem. ) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue Feb 17 2015 at 5:57:34 AM Su She < > [email protected] > > > > > > > > wrote: > > > > > > > > > > > > > > > > > Hello Everyone, thanks for all the support! > > > > > > > > > > > > > > > > > > I tried this command: > > > > > > > > > > > > > > > > > > mvn -DskipTests -Pspark-1.2 -Phadoop-2.4 > > > > > > -Dhadoop.version=2.5.0-cdh5.3. > > > > > > > 0 > > > > > > > > > clean package > > > > > > > > > > > > > > > > > > However, I keep getting this error, which I think is an > issue > > > not > > > > > > > related > > > > > > > > > to compatibility? > > > > > > > > > > > > > > > > > > Failed to execute goal > > > > > > > > > org.apache.maven.plugins:maven-checkstyle-plugin:2.13: > check > > > > > > > (checkstyle) > > > > > > > > > on > > > > > > > > > project zeppelin: Unable to create output stream: > > > > > > > > > /home/ec2-user/zeppelin/target/checkstyle-result.xml: > > > > > > > > > /home/ec2-user/zeppelin/target/checkstyle-result.xml (No > such > > > > > file or > > > > > > > > > directory) > > > > > > > > > > > > > > > > > > Thanks! > > > > > > > > > > > > > > > > > > > > > > > > > > > On Sun, Feb 15, 2015 at 8:51 PM, Kevin Kim (Sangwoo) < > > > > > > [email protected] > > > > > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > Sure! > > > > > > > > > > FYI, it's really easy to make simple modification and > make > > a > > > > PR, > > > > > > > > > > (especially on Docs) > > > > > > > > > > https://github.com/NFLabs/zeppelin/blob/master/README.md > > > > > > > > > > click edit button on top-right side, and edit doc, > > > > > > > > > > You'll see 'Create a *new branch* for this commit and > > start > > > a > > > > > pull > > > > > > > > > > request.' below. > > > > > > > > > > > > > > > > > > > > Cheers! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon Feb 16 2015 at 1:49:02 PM Jongyoul Lee < > > > > > [email protected]> > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > Hi Kevin, > > > > > > > > > > > > > > > > > > > > > > Ok, I've found that. Could I add this build command and > > > make > > > > a > > > > > PR > > > > > > > for > > > > > > > > > > this > > > > > > > > > > > build? > > > > > > > > > > > > > > > > > > > > > > On Mon, Feb 16, 2015 at 1:01 PM, Corneau Damien < > > > > > > > > [email protected]> > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > We could also create pages in the wiki section and > add > > a > > > > > simple > > > > > > > > link > > > > > > > > > to > > > > > > > > > > > the > > > > > > > > > > > > page in the README.md > > > > > > > > > > > > On Feb 16, 2015 12:20 PM, "Kevin Kim (Sangwoo)" < > > > > > > > [email protected]> > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > We got build section on README.md, > > > > > > > > > > > > > what if we add lines below current one? > > > > > > > > > > > > > > > > > > > > > > > > > > like, > > > > > > > > > > > > > > > > > > > > > > > > > > Build > > > > > > > > > > > > > > > > > > > > > > > > > > If you want to build Zeppelin from the source, > please > > > > first > > > > > > > clone > > > > > > > > > > this > > > > > > > > > > > > > repository. And then: > > > > > > > > > > > > > > > > > > > > > > > > > > mvn clean package > > > > > > > > > > > > > > > > > > > > > > > > > > Build with specific version > > > > > > > > > > > > > > > > > > > > > > > > > > Spark 1.1.x (more stable with Zeppelin for this > > > moment.) > > > > > > > > > > > > > > > > > > > > > > > > > > mvn clean package -Pspark-1.1 > -Dhadoop.version=2.2.0 > > > > > > > -Phadoop-2.2 > > > > > > > > > > > > > -DskipTests > > > > > > > > > > > > > > > > > > > > > > > > > > Spark 1.2.x > > > > > > > > > > > > > > > > > > > > > > > > > > mvn clean package -Pspark-1.2 > -Dhadoop.version=2.2.0 > > > > > > > -Phadoop-2.2 > > > > > > > > > > > > > -DskipTests > > > > > > > > > > > > > > > > > > > > > > > > > > CDH 5.X > > > > > > > > > > > > > > > > > > > > > > > > > > mvn clean package -Pspark-1.2 -Dhadoop.version= > > > > > > 2.5.0-cdh5.3.0 > > > > > > > > > > > > > -Phadoop-2.4 -DskipTests > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Maybe we can add few more popular & proven > > environment. > > > > > > > > > > > > > Also, building spark doc would be helpful for > users, > > we > > > > can > > > > > > > > create > > > > > > > > > a > > > > > > > > > > > link > > > > > > > > > > > > > on our README.md > > > > > > > > > > > > > https://spark.apache.org/docs/ > > > > > 1.1.1/building-with-maven.html > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > <https://github.com/NFLabs/zeppelin#configure> > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon Feb 16 2015 at 12:16:35 PM Jongyoul Lee < > > > > > > > > [email protected] > > > > > > > > > > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi Kevin, > > > > > > > > > > > > > > > > > > > > > > > > > > > > I fully agree with you. Zeppelin should have too > > much > > > > > docs > > > > > > > for > > > > > > > > > > using > > > > > > > > > > > > > > zeppelin with several environments. Kevin, Could > > you > > > > > make a > > > > > > > > > > structure > > > > > > > > > > > > for > > > > > > > > > > > > > > documentation? > > > > > > > > > > > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > JL > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Feb 16, 2015 at 12:00 PM, Kevin Kim > > > (Sangwoo) < > > > > > > > > > > > > [email protected]> > > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Great! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > What if we add this build command into > README.md? > > > > > > > > > > > > > > > I think it will help many people! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon Feb 16 2015 at 11:22:00 AM Jongyoul Lee > < > > > > > > > > > > [email protected] > > > > > > > > > > > > > > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi Su, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I also use zeppelin with hadoop > 2.5.0-cdh5.3.0 > > > and > > > > > > spark > > > > > > > > > > 1.2(.1). > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > It would be ok to run it. Check your build > > > command. > > > > > My > > > > > > > > > command > > > > > > > > > > is > > > > > > > > > > > > > > below: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > LANG=ko_KR.UTF-8 LC_ALL=ko_KR.UTF-8 > > > > > > > > > > > > JAVA_HOME=`/usr/libexec/java_home > > > > > > > > > > > > > > -v > > > > > > > > > > > > > > > > 1.7` mvn -DskipTests -Pspark-1.2 -Phadoop-2.4 > > > > > > > > > > > > > > > > -Dhadoop.version=2.5.0-cdh5.3.0 clean > package > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > > > JL > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Sat, Feb 14, 2015 at 7:32 PM, Kevin Kim > > > > (Sangwoo) > > > > > < > > > > > > > > > > > > > [email protected] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi Su, > > > > > > > > > > > > > > > > > Good to see u at Zeppelin mailing list! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > You need to use -Pspark-1.2 for spark 1.2. > > Plz > > > > see > > > > > > > > updated > > > > > > > > > > > > > Readme.md > > > > > > > > > > > > > > > on > > > > > > > > > > > > > > > > > github. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > mvn clean package -Pspark-1.2 > > > > > -Dhadoop.version=2.2.0 > > > > > > > > > > > -Phadoop-2.2 > > > > > > > > > > > > > > > > > -DskipTests > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Also you'll need to check > > > > > > > > > > > > > > > > > https://github.com/NFLabs/ > zeppelin/pull/342 > > > > > > > > > > > > > > > > > and > > > > > > > > > > > > > > > > > > > https://github.com/NFLabs/zeppelin/issues/339 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > if you want to use Z with spark 1.2. I > guess > > > > > there's > > > > > > > some > > > > > > > > > > > issues > > > > > > > > > > > > > with > > > > > > > > > > > > > > > > spark > > > > > > > > > > > > > > > > > 1.2, we're working hard for it. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Finally, I created Zeppelin pre-installed > AWS > > > > AMI, > > > > > > you > > > > > > > > can > > > > > > > > > > try > > > > > > > > > > > > it! > > > > > > > > > > > > > > > > > AMI ID is: ami-b1bd5bb1 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > > > > Kevin > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > < > > https://github.com/NFLabs/zeppelin#configure> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Sat Feb 14 2015 at 6:24:07 PM Su She < > > > > > > > > > > [email protected] > > > > > > > > > > > > > > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hello Everyone, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm trying to use Zeppelin again as I've > > > heard > > > > > > there > > > > > > > > have > > > > > > > > > > > been > > > > > > > > > > > > > some > > > > > > > > > > > > > > > new > > > > > > > > > > > > > > > > > > updates. I'm running on Spark 1.2.0 and > CDH > > > > > > > 5.3/Hadoop > > > > > > > > > > 2.5.0. > > > > > > > > > > > > Is > > > > > > > > > > > > > > > there > > > > > > > > > > > > > > > > > > anyway I can use Zeppelin now? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have installed Zeppelin, maven, jdk > 1.7, > > > and > > > > > > npm. I > > > > > > > > > have > > > > > > > > > > > > tried > > > > > > > > > > > > > > > > > > installing/clean package on the home > > > directory > > > > (I > > > > > > am > > > > > > > > > > cloning > > > > > > > > > > > > from > > > > > > > > > > > > > > > > github) > > > > > > > > > > > > > > > > > > including > > > > > > > > > > > > > > > > > > I tried this as well: > > > > > > > > > > > > > > > > > > mvn -Phadoop-2.4 -Dhadoop.version=2.4.0 > > > > > -DskipTests > > > > > > > > clean > > > > > > > > > > > > package > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > but I get this error: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [ERROR] Failed to execute goal > > > > > > > > > > > > > > > > > > org.apache.maven.plugins: > > > > > > > maven-checkstyle-plugin:2.13: > > > > > > > > > check > > > > > > > > > > > > > > > > (checkstyle) > > > > > > > > > > > > > > > > > > on > > > > > > > > > > > > > > > > > > project zeppelin: Unable to create output > > > > stream: > > > > > > > > > > > > > > > > > > /home/ec2-user/zeppelin/ > > > > > > > target/checkstyle-result.xml: > > > > > > > > > > > > > > > > > > > > > > > > /home/ec2-user/zeppelin/target/checkstyle-result.xml > > > > > > > > (No > > > > > > > > > > > such > > > > > > > > > > > > > > file or > > > > > > > > > > > > > > > > > > directory) -> [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: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thank you for the help! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > 이종열, Jongyoul Lee, 李宗烈 > > > > > > > > > > > > > > > > http://madeng.net > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > 이종열, Jongyoul Lee, 李宗烈 > > > > > > > > > > > > > > http://madeng.net > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > 이종열, Jongyoul Lee, 李宗烈 > > > > > > > > > > > http://madeng.net > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
