HDFS Forum

FsPermission.toExtendedShort not found

  • #59042
    Vikas Parashar
    Participant

    Hi,

    Oneof my colleague have done something wrong on HDP. Now, we don’t any idea “What to do or not”? Actually the problem occurs with file system permission. Whenever i am trying to run “hadoop fs -ls /” giving me below error.
    ls: org.apache.hadoop.fs.permission.FsPermission.toExtendedShort()S

    Due to this, resource manager is down. When i have seen the log of resource manager. There i get to know, resource manger was unable to reach this file system class.
    tailf /var/log/hadoop/hdfs/hadoop-hdfs-namenode-hadoopsrv.poc.com.log
    java.lang.NoSuchMethodError: org.apache.hadoop.fs.permission.FsPermission.toExtendedShort()S
    at org.apache.hadoop.hdfs.protocolPB.PBHelper.convert(PBHelper.java:1191)
    at org.apache.hadoop.hdfs.protocolPB.PBHelper.convert(PBHelper.java:1293)
    at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getFileInfo(ClientNamenodeProtocolServerSideTranslatorPB.java:767)
    at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
    at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:585)
    at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:928)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2013)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2009)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:415)
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1557)
    at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2007)

to create new topics or reply. | New User Registration

You must be to reply to this topic. | Create Account

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.