falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavan Nadakarni <pnadaka...@gmail.com>
Subject Re: Falcon On MapR
Date Tue, 17 May 2016 13:59:33 GMT
Hi Srikanth,

I ran the build-oozie.sh separately and it gave the following message

+ VERSION=

+ BUILD_VERSION=

+ FORCE_BUILD=

+ echo 'oozie version '

oozie version

+ '[' -z /var/maven ']'

+ export MVN_CMD=/var/maven/bin/mvn

+ MVN_CMD=/var/maven/bin/mvn

+ echo 'Using maven from ' /var/maven/bin/mvn

Using maven from  /var/maven/bin/mvn

+ [[ '' == \f\a\l\s\e ]]

+ PKG_URL=http://archive.apache.org/dist/oozie//oozie-.tar.gz

+ PKG=oozie-

+ mkdir -p ../target

+ pushd ../target

/opt/mapr/falcon/build-tools/src/target /opt/mapr/falcon/build-tools/src/bin

+ rm -rf 'oozie-*'

+ curl -v http://archive.apache.org/dist/oozie//oozie-.tar.gz -o oozie-.tgz

* About to connect() to archive.apache.org port 80 (#0)

*   Trying 163.172.17.199... connected

* Connected to archive.apache.org (163.172.17.199) port 80 (#0)

> GET /dist/oozie//oozie-.tar.gz HTTP/1.1

> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7
NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2

> Host: archive.apache.org

> Accept: */*

>

  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current

                                 Dload  Upload   Total   Spent    Left
Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
  0< HTTP/1.1 404 Not Found

< Date: Tue, 17 May 2016 13:43:04 GMT

< Server: Apache/2.4.7 (Ubuntu)

< Content-Length: 223

< Content-Type: text/html; charset=iso-8859-1

<

{ [data not shown]

111   223  111   223    0     0    944      0 --:--:-- --:--:-- --:--:--
2084* Connection #0 to host archive.apache.org left intact


* Closing connection #0

+ tar -xzvf oozie-.tgz


gzip: stdin: not in gzip format

tar: Child returned status 1

tar: Error is not recoverable: exiting now

it is complaining about some connectivity.

Thanks,
Pavan

On Tue, May 17, 2016 at 6:16 AM, Srikanth Sundarrajan <sriksun@hotmail.com>
wrote:

> Hi Pavan,
>     Falcon tries to build a version of Oozie that can work with Falcon out
> of box. Am suspecting that this is causing issues. The build-tools module
> in falcon has the following plugin entry. Am suspecting that this might be
> causing issues. Can you try running the build-oozie.sh independently to
> identify the root cause ?
>
>         <plugins>
>             <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>exec-maven-plugin</artifactId>
>                 <version>1.2.1</version>
>                 <executions>
>                     <execution>
>                         <id>BUILD-OOZIE</id>
>                         <phase>validate</phase>
>                         <goals>
>                             <goal>exec</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>                 <configuration>
>                     <executable>src/bin/build-oozie.sh</executable>
>                     <arguments>
>                         <argument>${oozie.version}</argument>
>                         <argument>${oozie.buildversion}</argument>
>                         <argument>${oozie.forcebuild}</argument>
>                     </arguments>
>                 </configuration>
>             </plugin>
>         </plugins>
>
> Regards
> Srikanth Sundarrajan
>
> > Date: Mon, 16 May 2016 20:38:26 -0400
> > Subject: Re: Falcon On MapR
> > From: pnadakarni@gmail.com
> > To: dev@falcon.apache.org
> >
> > Hi Pavan,
> >
> > I followed the link but it didn't help. Tried to run it with Debug
> enabled
> >
> > export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m -noverify" && mvn -X -e
> > exec:exec clean install
> >
> > It is complaining about some missing executable
> >
> > [ERROR] Failed to execute goal
> > org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (default-cli) on project
> > falcon-main: The parameters 'executable' for goal
> > org.codehaus.mojo:exec-maven-plugin:1.4.0:exec are missing or invalid ->
> > [Help 1]
> >
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> > goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (default-cli) on
> > project falcon-main: The parameters 'executable' for goal
> > org.codehaus.mojo:exec-maven-plugin:1.4.0:exec are missing or invalid
> >
> > at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
> >
> > 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:128)
> >
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> >
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> >
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> >
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> >
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> >
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> >
> > 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.PluginParameterException: The
> parameters
> > 'executable' for goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec are
> > missing or invalid
> >
> > at
> >
> org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:641)
> >
> > at
> >
> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:594)
> >
> > at
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
> >
> > at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> >
> > ... 20 more
> >
> > [ERROR]
> >
> > [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/PluginParameterException
> >
> > Can you tell what does it actually wants.
> >
> > Thanks,
> > Pavan​
> >
> > On Thu, May 5, 2016 at 1:19 AM, Pavan Kolamuri <
> pavan.kolamuri@inmobi.com>
> > wrote:
> >
> > > Hi Pavan,
> > >
> > > Can you please check https://issues.apache.org/jira/browse/FALCON-1620
> is
> > > it related ? Can you please try  suggested approaches ?
> > >
> > > On Thu, May 5, 2016 at 12:35 AM, Pavan Nadakarni <pnadakarni@gmail.com
> >
> > > wrote:
> > >
> > > > Hello Srikanth,
> > > >
> > > > Our nodes were running openjdk version "1.8.0_65"  then i installed
> jdk
> > > 1.6
> > > > but still getting same error
> > > > From the prerequisites on Falcon installation page it supported JDK
> > > 1.7/1.8
> > > > and Oozie requires JDK 1.6+
> > > >
> > > > Below is the message after enabling debugging
> > > >
> > > > [ERROR] Failed to execute goal
> > > > org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on
> project
> > > > falcon-main: The parameters 'mainClass' for goal
> > > > org.codehaus.mojo:exec-maven-plugin:1.4.0:java are missing or
> invalid ->
> > > > [Help 1]
> > > >
> > > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute
> > > > goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (default-cli) on
> > > > project falcon-main: The parameters 'mainClass' for goal
> > > > org.codehaus.mojo:exec-maven-plugin:1.4.0:java are missing or invalid
> > > >
> > > > at
> > > >
> > > >
> > >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
> > > >
> > > > 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:128)
> > > >
> > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> > > >
> > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> > > >
> > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> > > >
> > > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> > > >
> > > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> > > >
> > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> > > >
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >
> > > > at
> > > >
> > > >
> > >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> > > >
> > > > at
> > > >
> > > >
> > >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > > >
> > > > at java.lang.reflect.Method.invoke(Method.java:497)
> > > >
> > > > 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.PluginParameterException: The
> > > parameters
> > > > 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java
> are
> > > > missing or invalid
> > > >
> > > > at
> > > >
> > > >
> > >
> org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:641)
> > > >
> > > > at
> > > >
> > > >
> > >
> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:594)
> > > >
> > > > at
> > > >
> > > >
> > >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
> > > >
> > > > at
> > > >
> > > >
> > >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> > > >
> > > > ... 20 more
> > > >
> > > > [ERROR]
> > > >
> > > > [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/PluginParameterException
> > > >
> > > > Thanks,
> > > > Pavan
> > > >
> > > > On Wed, May 4, 2016 at 11:24 AM, Srikanth Sundarrajan <
> > > sriksun@hotmail.com
> > > > >
> > > > wrote:
> > > >
> > > > > Looks like a build failure in the oozie build. Can you check if
> java
> > > > > version is compatible with oozie. In most cases that happens to be
> the
> > > > > problem.
> > > > >
> > > > > Sent from my iPhone
> > > > >
> > > > > > On 04-May-2016, at 7:24 pm, "Pavan Nadakarni" <
> pnadakarni@gmail.com>
> > > > > wrote:
> > > > > >
> > > > > > Hello,
> > > > > >
> > > > > > I am trying to start playing with Falcon on our MapR Cluster
but
> > > unable
> > > > > to
> > > > > > install it.
> > > > > >
> > > > > > I followed the documentation on the installation page
> > > > > > https://falcon.apache.org/InstallationSteps.html
> > > > > >
> > > > > > but failed on step 2.
> > > > > > Below is the last part of messages. Any help will be appreciated.
> > > > > >
> > > > > > [INFO] Apache Falcon Examples .............................
> SKIPPED
> > > > > >
> > > > > > [INFO] Apache Falcon Web Application ......................
> SKIPPED
> > > > > >
> > > > > > [INFO] Apache Falcon Documentation ........................
> SKIPPED
> > > > > >
> > > > > > [INFO] Apache Falcon Distro ...............................
> SKIPPED
> > > > > >
> > > > > > [INFO]
> > > > > >
> > > >
> ------------------------------------------------------------------------
> > > > > >
> > > > > > [INFO] BUILD FAILURE
> > > > > >
> > > > > > [INFO]
> > > > > >
> > > >
> ------------------------------------------------------------------------
> > > > > >
> > > > > > [INFO] Total time: 06:32 min
> > > > > >
> > > > > > [INFO] Finished at: 2016-05-03T10:44:54-04:00
> > > > > >
> > > > > > [INFO] Final Memory: 33M/526M
> > > > > >
> > > > > > [INFO]
> > > > > >
> > > >
> ------------------------------------------------------------------------
> > > > > >
> > > > > > [ERROR] Failed to execute goal
> > > > > > org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (BUILD-OOZIE)
on
> > > project
> > > > > > build-tools: Command execution failed. Process exited with an
> error:
> > > 1
> > > > > > (Exit value: 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/MojoExecutionException
> > > > > >
> > > > > > [ERROR]
> > > > > >
> > > > > > [ERROR] After correcting the problems, you can resume the build
> with
> > > > the
> > > > > > command
> > > > > >
> > > > > > [ERROR]   mvn <goals> -rf :build-tools
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Thanks,
> > > > > > Pavan
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Thanks,
> > > > Pavan
> > > >
> > >
> > >
> > >
> > > --
> > > Thanks and regards
> > > Pavan Kumar Kolamuri
> > >
> > > --
> > > _____________________________________________________________
> > > The information contained in this communication is intended solely for
> the
> > > use of the individual or entity to whom it is addressed and others
> > > authorized to receive it. It may contain confidential or legally
> privileged
> > > information. If you are not the intended recipient you are hereby
> notified
> > > that any disclosure, copying, distribution or taking any action in
> reliance
> > > on the contents of this information is strictly prohibited and may be
> > > unlawful. If you have received this communication in error, please
> notify
> > > us immediately by responding to this email and then delete it from your
> > > system. The firm is neither liable for the proper and complete
> transmission
> > > of the information contained in this communication nor for any delay
> in its
> > > receipt.
> > >
> >
> >
> >
> > --
> > Thanks,
> > Pavan
>
>



-- 
Thanks,
Pavan

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