falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Seetharam Venkatesh <venkat...@innerzeal.com>
Subject Re: Falcon
Date Wed, 22 Oct 2014 16:38:45 GMT
Hi Tony,

Sorry that you are having issues. It'd be better to send it to dev ML and I
have copied that. Also, why are you trying to build falcon since we have
the released bits for 0.5 version.

Lets dig this further.

* try executing 'bin/falcon admin -version'

* logs are at $FALCON_HOME/logs
specifically look at falcon.out.xxxx and see if the server started ok

* the web page will not have anything since this is a fresh install and
does not have entities added

* lets follow the examples and add a few entities

Let us know how this goes.

Thanks!

On Wed, Oct 22, 2014 at 8:26 AM, Tony Reix <tony.reix@bull.net> wrote:

>  Hi Venkatesh,
>
> I am trying to run Falcon examples, and I have issues.
> I've googled the issue and only found something close but different:
>
> http://mail-archives.apache.org/mod_mbox/falcon-dev/201404.mbox/%3C533AB514.8020102@nanthrax.net%3E
>
> I'm following:
> http://falcon.incubator.apache.org/0.5-incubating/InstallationSteps.html .
>
>
> I have a Hadoop 2.4.1 cluster running (checked by running Pi computation).
> And I've compiled Falcon saying Hadoop version is 2.4.1 .
>
> I did:
> bin/falcon-start -port 15000
> bin/prism-start -port 16000
>
> I have:
> # bin/prism-status
> Hadoop is installed, adding hadoop classpath to falcon classpath
> Falcon server is running (on http://laurel5:16000/)
>
> # bin/falcon-status
> Hadoop is installed, adding hadoop classpath to falcon classpath
>
>
> When browsing "http://localhost:15000/", I only see :
> Apache Falcon
>
> appearing on the page.
>
> What should I expect ?
>
> Where can I find some images showing the expected page ?
>
>
>
>  When trying to run the example, I have:
>
>
>  # sh -x bin/falcon entity -submit -type cluster -file
> examples/entity/filesystem/standalone-cluster.xml
> + PRG=bin/falcon
> + '[' -h bin/falcon ']'
> ++ dirname bin/falcon
> + BASEDIR=bin
> ++ cd bin/..
> ++ pwd
> + BASEDIR=/opt/falcon-distributed-0.5-incubating
> + . /opt/falcon-distributed-0.5-incubating/bin/falcon-config.sh client
> ++ PRG=bin/falcon
> ++ '[' -h bin/falcon ']'
> +++ dirname bin/falcon
> ++ BASEDIR=bin
> +++ cd bin/..
> +++ pwd
> ++ BASEDIR=/opt/falcon-distributed-0.5-incubating
> ++ '[' -z '' ']'
> ++ FALCON_CONF=/opt/falcon-distributed-0.5-incubating/conf
> ++ export FALCON_CONF
> ++ '[' -f /opt/falcon-distributed-0.5-incubating/conf/falcon-env.sh ']'
> ++ . /opt/falcon-distributed-0.5-incubating/conf/falcon-env.sh
> +++ export JAVA_HOME=/usr/lib/jvm/ibm-java-ppc64-71
> +++ JAVA_HOME=/usr/lib/jvm/ibm-java-ppc64-71
> ++ test -z /usr/lib/jvm/ibm-java-ppc64-71
> ++ JAVA_BIN=/usr/lib/jvm/ibm-java-ppc64-71/bin/java
> ++ JAR_BIN=/usr/lib/jvm/ibm-java-ppc64-71/bin/jar
> ++ export JAVA_BIN
> ++ '[' '!' -e /usr/lib/jvm/ibm-java-ppc64-71/bin/java ']'
> ++ '[' '!' -e /usr/lib/jvm/ibm-java-ppc64-71/bin/jar ']'
> ++ DEFAULT_JAVA_HEAP_MAX=-Xmx1024m
> ++ FALCON_OPTS='-Xmx1024m '
> ++ type=client
> ++ shift
> ++ case $type in
> ++
> FALCONCPPATH='/opt/falcon-distributed-0.5-incubating/conf:/opt/falcon-distributed-0.5-incubating/client/lib/*'
> +++ ls /opt/falcon-distributed-0.5-incubating/server/webapp
> ++ for i in '`ls ${BASEDIR}/server/webapp`'
> ++
> FALCONCPPATH='/opt/falcon-distributed-0.5-incubating/conf:/opt/falcon-distributed-0.5-incubating/client/lib/*:falcon/WEB-INF/lib/*'
> ++ for i in '`ls ${BASEDIR}/server/webapp`'
> ++
> FALCONCPPATH='/opt/falcon-distributed-0.5-incubating/conf:/opt/falcon-distributed-0.5-incubating/client/lib/*:falcon/WEB-INF/lib/*:falcon.war/WEB-INF/lib/*'
> ++ for i in '`ls ${BASEDIR}/server/webapp`'
> ++
> FALCONCPPATH='/opt/falcon-distributed-0.5-incubating/conf:/opt/falcon-distributed-0.5-incubating/client/lib/*:falcon/WEB-INF/lib/*:falcon.war/WEB-INF/lib/*:prism/WEB-INF/lib/*'
> ++ for i in '`ls ${BASEDIR}/server/webapp`'
> ++
> FALCONCPPATH='/opt/falcon-distributed-0.5-incubating/conf:/opt/falcon-distributed-0.5-incubating/client/lib/*:falcon/WEB-INF/lib/*:falcon.war/WEB-INF/lib/*:prism/WEB-INF/lib/*:prism.war/WEB-INF/lib/*'
> ++ FALCON_OPTS='-Xmx1024m   '
> ++ export FALCONCPPATH
> ++ export FALCON_OPTS
> + JAVA_PROPERTIES='-Xmx1024m   '
> + [[ entity =~ ^-D ]]
> + /usr/lib/jvm/ibm-java-ppc64-71/bin/java -Xmx1024m -cp
> '/opt/falcon-distributed-0.5-incubating/conf:/opt/falcon-distributed-0.5-incubating/client/lib/*:falcon/WEB-INF/lib/*:falcon.war/WEB-INF/lib/*:prism/WEB-INF/lib/*:prism.war/WEB-INF/lib/*'
> -Dfalcon.log.dir=/root -Dfalcon.app.type=client
> org.apache.falcon.cli.FalconCLI entity -submit -type cluster -file
> examples/entity/filesystem/standalone-cluster.xml
> Error: Bad Request;
> local/org.apache.falcon.FalconException::com.sun.jersey.api.client.ClientHandlerException:
> java.net.ConnectException: Connexion refused
>
>
>  Can you help ?
>
> How can I dig in the issue ?
>
> Where are the logs ?
>
> How to have debug traces ?
>
>
>  Thanks,
>
>
>  Tony
>
>
>


-- 
Regards,
Venkatesh

“Perfection (in design) is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.”
- Antoine de Saint-Exupéry

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