Hi Henry,

I designed bin/tajo script to read $HADOOP_HOME/etc/hadoop/*.xml from bash
environment variables. But, if the configs are in the different place, the
tajo script cannot get the appropriate configs.

If you meet this problem, although your hadoop configs are in the right
place, please put the following configs with proper ip addresses and port
numbers to your tajo-site.xml.

<property>
  <name>yarn.resourcemanager.address</name>
  <value>127.0.0.x:8032</value>
</property>

<property>
  <name>yarn.resourcemanager.scheduler.address</name>
  <value>127.0.0.x:8030</value>
</property>

<property>
  <name>yarn.resourcemanager.resource-tracker.address</name>
  <value>127.0.0.x:8031</value>
</property>

Best regards,
Hyunsik


On Wed, May 8, 2013 at 5:31 PM, Henry Saputra <[email protected]>wrote:

> Hi All,
>
> I tried to move my dev env to Ubuntu but when I tried simple query for
> external table like:
>
> tajo> /d table3
>
> table name: table3
> table path: file:/home/hsaputra/tajo-install/sample_data/table1
> store type: CSV
> number of rows: 0
> volume (bytes): 60 B
> schema:
> id INT
> name STRING
> score FLOAT
> type STRING
>
> tajo> select * from table3
> Internal Error
>
> I got error can not connect to YARN resource manager:
>
> 2013-05-08 01:25:12,852 INFO  master.GlobalEngine
> (GlobalEngine.java:executeQuery(152)) - TQL: select * from table3
> 2013-05-08 01:25:13,139 INFO  planner.LogicalPlanner
> (LogicalPlanner.java:createPlanInternal(89)) - Planning select statement
> 2013-05-08 01:25:13,146 INFO  master.GlobalEngine
> (GlobalEngine.java:createLogicalPlan(243)) - LogicalPlan:
> Logical Plan Root
>
> "Scan" : {"table":"table3",
>   "out schema": {table3.id (INT),table3.name (STRING),table3.score
> (FLOAT),table3.type (STRING)}
>   "in schema": {table3.id (INT),table3.name (STRING),table3.score
> (FLOAT),table3.type (STRING)}
> 2013-05-08 01:25:19,176 INFO  ipc.Client
> (Client.java:handleConnectionFailure(740)) - Retrying connect to server:
> 0.0.0.0/0.0.0.0:8032. Already tried 0 time(s); retry policy is
> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
> 2013-05-08 01:25:20,178 INFO  ipc.Client
> (Client.java:handleConnectionFailure(740)) - Retrying connect to server:
> 0.0.0.0/0.0.0.0:8032. Already tried 1 time(s); retry policy is
> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
> 2013-05-08 01:25:21,179 INFO  ipc.Client
> (Client.java:handleConnectionFailure(740)) - Retrying connect to server:
> 0.0.0.0/0.0.0.0:8032. Already tried 2 time(s); retry policy is
> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
> 2013-05-08 01:25:22,182 INFO  ipc.Client
> (Client.java:handleConnectionFailure(740)) - Retrying connect to server:
> 0.0.0.0/0.0.0.0:8032. Already tried 3 time(s); retry policy is
> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
> 2013-05-08 01:25:23,184 INFO  ipc.Client
> (Client.java:handleConnectionFailure(740)) - Retrying connect to server:
> 0.0.0.0/0.0.0.0:8032. Already tried 4 time(s); retry policy is
> RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
>
>
> I have verified the component is listening to port 8032 in my localhost.
>
> Any insight why Tajo complain about connect failure?
>
>
> - Henry
>

Reply via email to