AnsweredAssumed Answered

hive tables exist but couldn't find the directories

Question asked by adil on Aug 20, 2015
Hi,

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(PhaseTwo.java:238)
     at com.mapr.fs.globalfsck.PhaseTwo$PhaseTwoThread.run(PhaseTwo.java:154)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
     at java.lang.Thread.run(Thread.java:745)

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

Thanks in advance,
Adil

Outcomes