HCatalog
  1. HCatalog
  2. HCATALOG-301

Reading from a table created with upper case table name throws error

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.4.1
    • Component/s: hbase
    • Labels:
      None

      Description

      if you create a new table then try to read from it, you will get the exception below. Ether the error should propagate up and be clear what happened (no data to read) or the job should run with empty input (fail fast imo).

      ERROR 18:29:05,057 [main] Launcher:171 - Backend error message during job
      submission
      org.apache.pig.backend.executionengine.ExecException: ERROR 2118:
      java.lang.IllegalStateException: Error while configuring job properties
      at
      org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigInputFormat.getSplits(PigInputFormat.java:280)
      at
      org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:962)
      [...]
      Caused by: org.apache.zookeeper.KeeperException$NoNodeException:
      KeeperErrorCode = NoNode for
      /revision-management/data/hcatreadhbasetabletest_85330477246989847.hcatreadhbasetabletest_85330477285774847
      at
      org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
      at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
      at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1448)
      at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1476)
      at
      org.apache.hcatalog.hbase.snapshot.ZKUtil.getColumnFamiliesOfTable(ZKUtil.java:130)
      ... 25 more

      1. HCATALOG-301-2.patch
        30 kB
        Rohini Palaniswamy
      2. HCATALOG-301.patch
        13 kB
        Rohini Palaniswamy

        Activity

        Francis Liu made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Rohini Palaniswamy made changes -
        Attachment HCATALOG-301-2.patch [ 12519759 ]
        Rohini Palaniswamy made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Rohini Palaniswamy made changes -
        Attachment HCATALOG-301.patch [ 12519109 ]
        Rohini Palaniswamy made changes -
        Summary Reading from a table without snapshot throws bad error. Reading from a table created with upper case table name throws error
        Fix Version/s 0.4.1 [ 12320255 ]
        Rohini Palaniswamy made changes -
        Field Original Value New Value
        Assignee Rohini Palaniswamy [ rohini ]
        David Capwell created issue -

          People

          • Assignee:
            Rohini Palaniswamy
            Reporter:
            David Capwell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development