Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1066

remote connect to tajo master via tsql

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.9.0
    • Fix Version/s: None
    • Component/s: SQL Shell
    • Labels:
      None

      Description

      Related to http://tajo.apache.org/docs/current/cli.html and https://issues.apache.org/jira/browse/TAJO-1062 you can connect to tajo master via
      christians-mbp:bin chris$ ./tsql -h 192.168.178.101 -p 26002

      But i get the following stacktrace:

      default> SELECT * FROM xyz LIMIT 10;
      ERROR: File file:/tmp/tajo-chris/warehouse/default/xyz does not exist
      java.io.FileNotFoundException: File file:/tmp/tajo-chris/warehouse/default/xyz does not exist
      at org.apache.hadoop.fs.RawLocalFileSystem.listStatus(RawLocalFileSystem.java:362)
      at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1483)
      at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1523)
      at org.apache.hadoop.fs.ChecksumFileSystem.listStatus(ChecksumFileSystem.java:564)
      at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1483)
      at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1523)
      at org.apache.tajo.jdbc.TajoResultSet.getFragments(TajoResultSet.java:116)
      at org.apache.tajo.jdbc.TajoResultSet.initScanner(TajoResultSet.java:94)
      at org.apache.tajo.jdbc.TajoResultSet.<init>(TajoResultSet.java:68)
      at org.apache.tajo.jdbc.TajoResultSet.<init>(TajoResultSet.java:74)
      at org.apache.tajo.client.TajoClient.createResultSet(TajoClient.java:514)
      at org.apache.tajo.cli.TajoCli.localQueryCompleted(TajoCli.java:534)
      at org.apache.tajo.cli.TajoCli.executeQuery(TajoCli.java:509)
      at org.apache.tajo.cli.TajoCli.executeParsedResults(TajoCli.java:421)
      at org.apache.tajo.cli.TajoCli.runShell(TajoCli.java:404)
      at org.apache.tajo.cli.TajoCli.main(TajoCli.java:658)

      The same Query works an tsql on localhost for the running tajo master without FileNotFoundException.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Christian Schwabe Christian Schwabe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: