AnsweredAssumed Answered

hive tables exist but couldn't find the directories

Question asked by adil on Aug 20, 2015

I'm facing an issue in my MapR cluster after some new disk addition. The hive tables existed prior to the movement are still there with all the data intact. However, I couldn't find the directory path of storage of these tables. I tried fsck & gfsck as well. fsck was fine but gfsck showed some errors. Below is the output of gfsck:

    $ sudo /opt/mapr/bin/gfsck -r cluster=tmcluster1 rwvolume=users
    Starting GlobalFsck:
      clear-mode  = false
      debug-mode  = false
      dbcheck-mode  = false
      repair-mode  = true
      assume-yes-mode = false
      cluster  = tmcluster1
      rw-volume-name = users
      snapshot-name  = null
      snapshot-id  = 0
      user-id  = 0
      group-id  = 0
      get volume properties ...
      put volume users in global-fsck mode ...
      get snapshot list for volume users ...
      starting phase one (get containers) for volume users(31225146) ...
        got volume containers map
      done phase one
      starting phase two (get inodes) for volume users(31225146) ...
    java.lang.Exception: ContainerGetInodes RPC retry 11
     at com.mapr.fs.globalfsck.PhaseTwo$PhaseTwoThread.getInodesOfContainer(
     at com.mapr.fs.globalfsck.PhaseTwo$
     at java.util.concurrent.ThreadPoolExecutor.runWorker(
     at java.util.concurrent.ThreadPoolExecutor$

Anyone got any ideas what could've happened that the directories structure seems lost?

Thanks in advance,