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

remote connect to tajo master via tsql

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.9.0
    • None
    • SQL Shell
    • 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

            Unassigned Unassigned
            Christian Schwabe Christian Schwabe

            Dates

              Created:
              Updated:

              Slack

                Issue deployment