<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Indexing Issue in HDFS in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Indexing-Issue-in-HDFS/m-p/314707#M226146</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I was trying to take report from HDFS Report and get the below message&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.JPG" style="width: 501px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/30909i75748635C24E0A5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Upon checking&amp;nbsp;/var/log/cloudera-scm-headlamp and see the following error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;021-04-15 18:09:44,934 ERROR com.cloudera.headlamp.HeadlampIndexManager: Index build failed for service hdfs
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: Unsupported layout version -64
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:192)
        at com.cloudera.headlamp.AbstractIndexBuilder.buildIndex(AbstractIndexBuilder.java:80)
        at com.cloudera.headlamp.HeadlampIndex.buildIndex(HeadlampIndex.java:257)
        at com.cloudera.headlamp.HeadlampIndex.reindex(HeadlampIndex.java:325)
        at com.cloudera.headlamp.HeadlampIndexManager.reindexIndexes(HeadlampIndexManager.java:240)
        at com.cloudera.headlamp.HeadlampIndexManager.access$100(HeadlampIndexManager.java:57)
        at com.cloudera.headlamp.HeadlampIndexManager$1.run(HeadlampIndexManager.java:494)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: Unsupported layout version -64
        at com.cloudera.headlamp.AbstractIndexBuilder$1.run(AbstractIndexBuilder.java:74)
        at com.cloudera.cmf.cdhclient.CdhExecutor$RunnableWrapper.call(CdhExecutor.java:221)
        at com.cloudera.cmf.cdhclient.CdhExecutor$RunnableWrapper.call(CdhExecutor.java:211)
        at com.cloudera.cmf.cdhclient.CdhExecutor$CallableWrapper.doWork(CdhExecutor.java:236)
        at com.cloudera.cmf.cdhclient.CdhExecutor$1.call(CdhExecutor.java:125)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.io.IOException: Unsupported layout version -64
        at com.cloudera.headlamp.IndexBuilderCDH.buildIndexImpl(IndexBuilderCDH.java:77)
        at com.cloudera.headlamp.AbstractIndexBuilder$1.run(AbstractIndexBuilder.java:72)
        ... 8 more
Caused by: java.io.IOException: Unsupported layout version -64
        at org.apache.hadoop.hdfs.server.namenode.FSImageUtil.loadSummary(FSImageUtil.java:75)
        at org.apache.hadoop.hdfs.tools.offlineImageViewer.CdhClientPBImageViewer.go(CdhClientPBImageViewer.java:113)
        at com.cloudera.headlamp.IndexBuilderCDH.buildIndexImpl(IndexBuilderCDH.java:70)
        ... 9 more&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CM / CDH - 6.3.3&lt;/P&gt;&lt;P&gt;Appreciate any help / guidance in fixing this issue .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Amn&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 14:41:25 GMT</pubDate>
    <dc:creator>Amn_468</dc:creator>
    <dc:date>2022-09-16T14:41:25Z</dc:date>
    <item>
      <title>Indexing Issue in HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Indexing-Issue-in-HDFS/m-p/314707#M226146</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I was trying to take report from HDFS Report and get the below message&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.JPG" style="width: 501px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/30909i75748635C24E0A5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Upon checking&amp;nbsp;/var/log/cloudera-scm-headlamp and see the following error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;021-04-15 18:09:44,934 ERROR com.cloudera.headlamp.HeadlampIndexManager: Index build failed for service hdfs
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: Unsupported layout version -64
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:192)
        at com.cloudera.headlamp.AbstractIndexBuilder.buildIndex(AbstractIndexBuilder.java:80)
        at com.cloudera.headlamp.HeadlampIndex.buildIndex(HeadlampIndex.java:257)
        at com.cloudera.headlamp.HeadlampIndex.reindex(HeadlampIndex.java:325)
        at com.cloudera.headlamp.HeadlampIndexManager.reindexIndexes(HeadlampIndexManager.java:240)
        at com.cloudera.headlamp.HeadlampIndexManager.access$100(HeadlampIndexManager.java:57)
        at com.cloudera.headlamp.HeadlampIndexManager$1.run(HeadlampIndexManager.java:494)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: Unsupported layout version -64
        at com.cloudera.headlamp.AbstractIndexBuilder$1.run(AbstractIndexBuilder.java:74)
        at com.cloudera.cmf.cdhclient.CdhExecutor$RunnableWrapper.call(CdhExecutor.java:221)
        at com.cloudera.cmf.cdhclient.CdhExecutor$RunnableWrapper.call(CdhExecutor.java:211)
        at com.cloudera.cmf.cdhclient.CdhExecutor$CallableWrapper.doWork(CdhExecutor.java:236)
        at com.cloudera.cmf.cdhclient.CdhExecutor$1.call(CdhExecutor.java:125)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.io.IOException: Unsupported layout version -64
        at com.cloudera.headlamp.IndexBuilderCDH.buildIndexImpl(IndexBuilderCDH.java:77)
        at com.cloudera.headlamp.AbstractIndexBuilder$1.run(AbstractIndexBuilder.java:72)
        ... 8 more
Caused by: java.io.IOException: Unsupported layout version -64
        at org.apache.hadoop.hdfs.server.namenode.FSImageUtil.loadSummary(FSImageUtil.java:75)
        at org.apache.hadoop.hdfs.tools.offlineImageViewer.CdhClientPBImageViewer.go(CdhClientPBImageViewer.java:113)
        at com.cloudera.headlamp.IndexBuilderCDH.buildIndexImpl(IndexBuilderCDH.java:70)
        ... 9 more&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CM / CDH - 6.3.3&lt;/P&gt;&lt;P&gt;Appreciate any help / guidance in fixing this issue .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Amn&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:41:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Indexing-Issue-in-HDFS/m-p/314707#M226146</guid>
      <dc:creator>Amn_468</dc:creator>
      <dc:date>2022-09-16T14:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Indexing Issue in HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Indexing-Issue-in-HDFS/m-p/315431#M226461</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any assistance on this please ?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 01:31:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Indexing-Issue-in-HDFS/m-p/315431#M226461</guid>
      <dc:creator>Amn_468</dc:creator>
      <dc:date>2021-04-28T01:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Indexing Issue in HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Indexing-Issue-in-HDFS/m-p/315639#M226517</link>
      <description>&lt;P&gt;Hello Amn,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for using Cloudera Community. I believe this issue is happening due to index failure. Can you please follow the below steps?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1. Stop the RMAN service from CM.&lt;/P&gt;&lt;P&gt;2. Navigate to CM &amp;gt; Cloudera Management Service &amp;gt; Configuration and search for Reports Manager Working Directory&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;By default it would be /var/lib/cloudera-scm-headlamp&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Once identified we can move contents of /var/lib/cloudera-scm-headlamp/HDFS-1/ns1/* to some other tmp directory. Post that start RMAN service. This should help us in rebuilding the index once again.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please let me know if it helps.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 12:14:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Indexing-Issue-in-HDFS/m-p/315639#M226517</guid>
      <dc:creator>amk</dc:creator>
      <dc:date>2021-04-30T12:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Indexing Issue in HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Indexing-Issue-in-HDFS/m-p/315731#M226567</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/33126"&gt;@amk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When I go to /var/lib/cloudera-scm-headlamp/hdfs/ I see the below listed :&lt;/P&gt;&lt;P&gt;[nm1@myserver hdfs]# ls -ltr&lt;BR /&gt;-rw-r----- 1 cloudera-scm cloudera-scm 710967007 Jan 29 23:35 fsimage&lt;BR /&gt;-rw-r----- 1 cloudera-scm cloudera-scm 25680 Jan 29 23:44 aggregates&lt;BR /&gt;drwxr-x--- 2 cloudera-scm cloudera-scm 8192 Jan 29 23:44 index&lt;BR /&gt;-rw-r----- 1 cloudera-scm cloudera-scm 468901714 May 3 14:26 fsimage.tmp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you suggesting that I move everything that is inside hdfs folder to tmp location that then start Rman server? Kindly confirm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Amn&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 02:45:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Indexing-Issue-in-HDFS/m-p/315731#M226567</guid>
      <dc:creator>Amn_468</dc:creator>
      <dc:date>2021-05-03T02:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Indexing Issue in HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Indexing-Issue-in-HDFS/m-p/315733#M226569</link>
      <description>&lt;P&gt;Yes, right. Please move all the contents and start RMAN service once again.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 03:43:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Indexing-Issue-in-HDFS/m-p/315733#M226569</guid>
      <dc:creator>amk</dc:creator>
      <dc:date>2021-05-03T03:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Indexing Issue in HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Indexing-Issue-in-HDFS/m-p/323153#M229039</link>
      <description>&lt;P&gt;You can find the error message 'Index build failed for service hdfs' in the RM log. This issue is caused by exceptional ' /var/lib/cloudera-scm-headlamp/' where the Reports Manager role is configured to run.&lt;/P&gt;&lt;P&gt;step 1: stop CMS Reports Manager role&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;step 2: RUN THIS ON THE HOST WHERE RM ROLE RUNS&lt;BR /&gt;sudo rm -rf /var/lib/cloudera-scm-headlamp/*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;step 3: start CMS Reports Manager role (will rebuild the headlamp dir)&lt;/P&gt;&lt;P&gt;Done.&lt;BR /&gt;You can now use CM&amp;gt; HDFS&amp;gt; File Browser.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 15:21:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Indexing-Issue-in-HDFS/m-p/323153#M229039</guid>
      <dc:creator>JuliaC</dc:creator>
      <dc:date>2021-08-25T15:21:45Z</dc:date>
    </item>
  </channel>
</rss>

