The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HBase Forum

HBASE Regions Server Warning

  • #12016
    Laurentiu
    Member

    Hi,
    While running HDP 1.1 (HDFS version, 1.0.3.16. HBASE version: 0.92.1.15)

    I am seeing this warning in my region server log files:
    2012-11-13 13:41:21,334 WARN org.apache.hadoop.hdfs.DFSClient: BlockReaderLocal: Removing blk_-3202046197278941888_18303 from cache because local file /hadoop/hdfs/data/sdi1/current/subdir14/blk_-3202046197278941888 could not be opened.
    2012-11-13 13:41:21,334 WARN org.apache.hadoop.hdfs.DFSClient: Failed to connect to /XX.XX.XX.XXX:50010 for file /apps/hbase/data/-ROOT-/70236052/info/e32228437cb341e1bba3f321e8e7a67e for block blk_-3202046197278941888_18303:java.io.FileNotFoundException: /hadoop/hdfs/data/sdi1/current/subdir14/blk_-3202046197278941888 (Permission denied)

    The ls -l command shows this:
    -rw-r—–. 1 hdfs hdfs 1107 Nov 12 14:17 /hadoop/hdfs/data/sdi1/current/subdir14/blk_-3202046197278941888

    The id command for the hbase user shows:
    uid=492(hbase) gid=491(hbase) groups=491(hbase),504(hadoop)

    The questions are: why am i seeing this warning and what can I do to make it go away ?

  • Author
    Replies
  • #12025
    Laurentiu
    Member

    Could the solution be setting dfs.datanode.data.dir.perm to 755 in hdfs-site.xml ?

    #12033
    tedr
    Member

    Hi Laurentiu,

    This again looks like it is caused by http://hortonworks.com/community/forums/topic/too-many-open-files-rs-logs/
    Once that is corrected for this will probably go away.

    Ted.

    #12038
    Laurentiu
    Member

    Sorry Ted but just fixing the limits did not fix the issue. My issue is exactly the same as the one described on the cloudera forum: https://groups.google.com/a/cloudera.org/forum/?fromgroups=#!topic/cdh-user/R1vGqj-HQT4.
    I have changed the primary group for the hdfs user to hadoop. It seems to be fine now.

    #12068
    tedr
    Member

    Hi Laurentiu,

    Thanks for letting us know.

    Ted

The forum ‘HBase’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.