You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jaehwa Jung (JIRA)" <ji...@apache.org> on 2014/02/03 11:28:08 UTC

[jira] [Created] (TAJO-579) Tajo should validate directories when it runs.

Jaehwa Jung created TAJO-579:
--------------------------------

             Summary: Tajo should validate directories when it runs.
                 Key: TAJO-579
                 URL: https://issues.apache.org/jira/browse/TAJO-579
             Project: Tajo
          Issue Type: Improvement
            Reporter: Jaehwa Jung
            Assignee: Jaehwa Jung


If users write wrong path at tajo-site.xml such as 'tajo.worker.tmpdir.locations', tajo can't execute queries. In this case, TajoWorker just remained 0 percent as follows: 
{code:xml}
tajo> create external table table1 (id int, name text, score float, type text) using csv with ('csvfile.delimiter'='|') location 'hdfs://service-cluster/user/tajo/warehouse/table1';
OK
tajo>
tajo>
tajo> select * from table1;
Progress: 0%, response time: 0.861 sec
Progress: 0%, response time: 1.867 sec
Progress: 0%, response time: 2.871 sec
Progress: 0%, response time: 3.874 sec
Progress: 0%, response time: 4.877 sec
Progress: 0%, response time: 5.881 sec
Progress: 0%, response time: 6.884 sec
Progress: 0%, response time: 7.887 sec
Progress: 0%, response time: 8.891 sec
Progress: 0%, response time: 9.894 sec
{code}

So, we need to verify directory properties at tajo-site.xml.




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)