Not working (Lingual + Hadoop 2.2) Please Help !!

33 views
Skip to first unread message

Hsu Orozco

unread,
Aug 17, 2014, 10:50:33 AM8/17/14
to lingua...@googlegroups.com
Someone please help me to figure out Lingual install problem, thanks

My system information as below:
1. Hadoop2.2 with zookeeper, hbase. All services are perfect.
2. Clustering (two machines): one Master node and one Slave node


I follow the Lingual install command, and everything is fine
> curl http://files.concurrentinc.com/lingual/1.0/lingual-client/install-lingual-client.sh | bash


I use export LINGUAL_PLATFORM=hadoop and export HADOOP_HOME=/opt/hadoop
Then use
lingual shell found error, the exception as below:

[root@master bin]# lingual shell
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at cascading.lingual.shell.Shell.<clinit>(Shell.java:48)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 1 more
Could not find the main class: cascading.lingual.shell.Shell. Program will exit.


The problem has stick me couple days, until I found this forum.
I reference
Henry Hung's posts and try to setup all variables he mentioned,
and set export LINGUAL_PLATFORM=hadoop2-mr1.

Then problem is still remaining, please see below:
[root@master bin]# lingual shell
ERROR: Unknown platform: hadoop2-mr1

Please someone tell me how to install Cascading Lingual?
More detail/ Step by step is good, thanks in advance.

Andre Kelpe

unread,
Aug 17, 2014, 12:51:53 PM8/17/14
to lingua...@googlegroups.com
Please use lingual 1.1 for hadoop 2 support: http://docs.cascading.org/lingual/1.1/

- André


--
You received this message because you are subscribed to the Google Groups "Lingual User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lingual-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
André Kelpe
an...@concurrentinc.com
http://concurrentinc.com

Hsu Orozco

unread,
Aug 19, 2014, 9:10:50 AM8/19/14
to lingua...@googlegroups.com
Hi Andre,

Thanks a lot, it works.

I list my configuration here for referencing.

My system:
1. Hadoop 2.2
2. Lingual 1.1

> curl http://files.concurrentinc.com/lingual/1.1/lingual-client/install-lingual-client.sh | bash
> vi /etc/profile, adding export PATH=$PATH:/home/root/.lingual-client/bin
> source /etc/profile
> export LINGUAL_PLATFORM=hadoop2-mr1
> export HADOOP_HOME=/opt/hadoop
> lingual shell

OK !


My system:
1. HDP(2.1 Sandbox)
2. Lingual 1.1

> curl http://files.concurrentinc.com/lingual/1.1/lingual-client/install-lingual-client.sh | bash
> export LINGUAL_PLATFORM=hadoop2-mr1
> export HADOOP_HOME=/usr/lib/hadoop
> lingual shell

OK!
Reply all
Reply to author
Forward
0 new messages