Hi ,
I have set Hadoop_home and hadoop_conf_dir as :
export HADOOP_HOME=/usr/lib/hadoop
export HADOOP_CONF_DIR=/etc/hadoop/conf
After installation, in .lingual/catalog i saw
"platformName" : "local"
"cascading.bind.provider.text.factory.classname" : "cascading.lingual.platform.local.LocalDefaultFactory"
"cascading.bind.provider.text.platforms" : "local"
so i have changed it to
"platformName" : "hadoop"
"cascading.bind.provider.text.factory.classname" : "cascading.lingual.platform.hadoop.HadoopDefaultFactory",
"cascading.bind.provider.text.platforms" : "hadoop"
After this when i have entered into the lingual shell i got following exception
lingual shell --verbose
issuing: !connect jdbc:lingual:hadoop;resultSchema=results;resultPath=results;maxRows=10000 '' '' cascading.lingual.jdbc.Driver
when i am creating select query it runs successfully.
i.e. 0: jdbc:lingual:hadoop> select * from employees.dept_emp;
but when i run
0: jdbc:lingual:hadoop> select * from employees.dept_emp where EMP_NO=19050;
i got below exception
Warning: exception while executing query: flow failed: unhandled exception: Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses. (state=,code=0) Error: exception while executing query (state=,code=0)
i checked configuration too and found it as below
<property>
<value>yarn</value>
</property
Hadoop-version = Hadoop 2.6.0-cdh5.4.2
Thanks
Santlal Gupta