[jira] [Updated] (HDFS-13743) RBF: Router throws NullPointerException due to the invalid initialization of MountTableResolver
[ https://issues.apache.org/jira/browse/HDFS-13743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-13743: - Affects Version/s: 3.1.0 3.0.3 > RBF: Router throws NullPointerException due to the invalid initialization of > MountTableResolver > --- > > Key: HDFS-13743 > URL: https://issues.apache.org/jira/browse/HDFS-13743 > Project: Hadoop HDFS > Issue Type: Sub-task >Affects Versions: 3.1.0, 3.0.3 >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma >Priority: Major > Fix For: 2.10.0, 3.2.0, 2.9.2, 3.0.4, 3.1.2 > > Attachments: HDFS-13743.1.patch, HDFS-13743.2.patch, > HDFS-13743.3.patch, HDFS-13743.4.patch, HDFS-13743.5.patch > > > When {{dfs.federation.router.default.nameserviceId}} isn't set and any other > default name service isn't found, clients can't submit requests to the router > because of {{NullPointerException}}. > # client side > {noformat} > $ hadoop fs -ls hdfs://router:/ > ls: java.lang.NullPointerException > {noformat} > # Router log > {noformat} > java.lang.NullPointerException > at java.util.TreeMap.getEntry(TreeMap.java:347) > at java.util.TreeMap.containsKey(TreeMap.java:232) > at java.util.TreeSet.contains(TreeSet.java:234) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2287) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2239) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getFileInfo(RouterRpcServer.java:1163) > at > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getFileInfo(ClientNamenodeProtocolServerSideTranslatorPB.java:966) > at > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1689) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682) > {noformat} > The cause of this error is that the initialization of {{MountTableResolver}} > doesn't work properly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-13743) RBF: Router throws NullPointerException due to the invalid initialization of MountTableResolver
[ https://issues.apache.org/jira/browse/HDFS-13743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-13743: - Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 3.1.2 3.0.4 2.9.2 3.2.0 2.10.0 Status: Resolved (was: Patch Available) Committed this to trunk, branch-3.1, branch-3.0, branch-2.9 and branch-2. Thanks [~tasanuma0829] for the contribution and thanks [~elgoiri] for the review. > RBF: Router throws NullPointerException due to the invalid initialization of > MountTableResolver > --- > > Key: HDFS-13743 > URL: https://issues.apache.org/jira/browse/HDFS-13743 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma >Priority: Major > Fix For: 2.10.0, 3.2.0, 2.9.2, 3.0.4, 3.1.2 > > Attachments: HDFS-13743.1.patch, HDFS-13743.2.patch, > HDFS-13743.3.patch, HDFS-13743.4.patch, HDFS-13743.5.patch > > > When {{dfs.federation.router.default.nameserviceId}} isn't set and any other > default name service isn't found, clients can't submit requests to the router > because of {{NullPointerException}}. > # client side > {noformat} > $ hadoop fs -ls hdfs://router:/ > ls: java.lang.NullPointerException > {noformat} > # Router log > {noformat} > java.lang.NullPointerException > at java.util.TreeMap.getEntry(TreeMap.java:347) > at java.util.TreeMap.containsKey(TreeMap.java:232) > at java.util.TreeSet.contains(TreeSet.java:234) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2287) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2239) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getFileInfo(RouterRpcServer.java:1163) > at > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getFileInfo(ClientNamenodeProtocolServerSideTranslatorPB.java:966) > at > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1689) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682) > {noformat} > The cause of this error is that the initialization of {{MountTableResolver}} > doesn't work properly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-13743) RBF: Router throws NullPointerException due to the invalid initialization of MountTableResolver
[ https://issues.apache.org/jira/browse/HDFS-13743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Takanobu Asanuma updated HDFS-13743: Attachment: HDFS-13743.5.patch > RBF: Router throws NullPointerException due to the invalid initialization of > MountTableResolver > --- > > Key: HDFS-13743 > URL: https://issues.apache.org/jira/browse/HDFS-13743 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma >Priority: Major > Attachments: HDFS-13743.1.patch, HDFS-13743.2.patch, > HDFS-13743.3.patch, HDFS-13743.4.patch, HDFS-13743.5.patch > > > When {{dfs.federation.router.default.nameserviceId}} isn't set and any other > default name service isn't found, clients can't submit requests to the router > because of {{NullPointerException}}. > # client side > {noformat} > $ hadoop fs -ls hdfs://router:/ > ls: java.lang.NullPointerException > {noformat} > # Router log > {noformat} > java.lang.NullPointerException > at java.util.TreeMap.getEntry(TreeMap.java:347) > at java.util.TreeMap.containsKey(TreeMap.java:232) > at java.util.TreeSet.contains(TreeSet.java:234) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2287) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2239) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getFileInfo(RouterRpcServer.java:1163) > at > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getFileInfo(ClientNamenodeProtocolServerSideTranslatorPB.java:966) > at > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1689) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682) > {noformat} > The cause of this error is that the initialization of {{MountTableResolver}} > doesn't work properly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-13743) RBF: Router throws NullPointerException due to the invalid initialization of MountTableResolver
[ https://issues.apache.org/jira/browse/HDFS-13743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Takanobu Asanuma updated HDFS-13743: Attachment: HDFS-13743.4.patch > RBF: Router throws NullPointerException due to the invalid initialization of > MountTableResolver > --- > > Key: HDFS-13743 > URL: https://issues.apache.org/jira/browse/HDFS-13743 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma >Priority: Major > Attachments: HDFS-13743.1.patch, HDFS-13743.2.patch, > HDFS-13743.3.patch, HDFS-13743.4.patch > > > When {{dfs.federation.router.default.nameserviceId}} isn't set and any other > default name service isn't found, clients can't submit requests to the router > because of {{NullPointerException}}. > # client side > {noformat} > $ hadoop fs -ls hdfs://router:/ > ls: java.lang.NullPointerException > {noformat} > # Router log > {noformat} > java.lang.NullPointerException > at java.util.TreeMap.getEntry(TreeMap.java:347) > at java.util.TreeMap.containsKey(TreeMap.java:232) > at java.util.TreeSet.contains(TreeSet.java:234) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2287) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2239) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getFileInfo(RouterRpcServer.java:1163) > at > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getFileInfo(ClientNamenodeProtocolServerSideTranslatorPB.java:966) > at > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1689) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682) > {noformat} > The cause of this error is that the initialization of {{MountTableResolver}} > doesn't work properly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-13743) RBF: Router throws NullPointerException due to the invalid initialization of MountTableResolver
[ https://issues.apache.org/jira/browse/HDFS-13743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Takanobu Asanuma updated HDFS-13743: Attachment: HDFS-13743.3.patch > RBF: Router throws NullPointerException due to the invalid initialization of > MountTableResolver > --- > > Key: HDFS-13743 > URL: https://issues.apache.org/jira/browse/HDFS-13743 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma >Priority: Major > Attachments: HDFS-13743.1.patch, HDFS-13743.2.patch, > HDFS-13743.3.patch > > > When {{dfs.federation.router.default.nameserviceId}} isn't set and any other > default name service isn't found, clients can't submit requests to the router > because of {{NullPointerException}}. > # client side > {noformat} > $ hadoop fs -ls hdfs://router:/ > ls: java.lang.NullPointerException > {noformat} > # Router log > {noformat} > java.lang.NullPointerException > at java.util.TreeMap.getEntry(TreeMap.java:347) > at java.util.TreeMap.containsKey(TreeMap.java:232) > at java.util.TreeSet.contains(TreeSet.java:234) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2287) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2239) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getFileInfo(RouterRpcServer.java:1163) > at > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getFileInfo(ClientNamenodeProtocolServerSideTranslatorPB.java:966) > at > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1689) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682) > {noformat} > The cause of this error is that the initialization of {{MountTableResolver}} > doesn't work properly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-13743) RBF: Router throws NullPointerException due to the invalid initialization of MountTableResolver
[ https://issues.apache.org/jira/browse/HDFS-13743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Takanobu Asanuma updated HDFS-13743: Attachment: HDFS-13743.2.patch > RBF: Router throws NullPointerException due to the invalid initialization of > MountTableResolver > --- > > Key: HDFS-13743 > URL: https://issues.apache.org/jira/browse/HDFS-13743 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma >Priority: Major > Attachments: HDFS-13743.1.patch, HDFS-13743.2.patch > > > When {{dfs.federation.router.default.nameserviceId}} isn't set and any other > default name service isn't found, clients can't submit requests to the router > because of {{NullPointerException}}. > # client side > {noformat} > $ hadoop fs -ls hdfs://router:/ > ls: java.lang.NullPointerException > {noformat} > # Router log > {noformat} > java.lang.NullPointerException > at java.util.TreeMap.getEntry(TreeMap.java:347) > at java.util.TreeMap.containsKey(TreeMap.java:232) > at java.util.TreeSet.contains(TreeSet.java:234) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2287) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2239) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getFileInfo(RouterRpcServer.java:1163) > at > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getFileInfo(ClientNamenodeProtocolServerSideTranslatorPB.java:966) > at > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1689) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682) > {noformat} > The cause of this error is that the initialization of {{MountTableResolver}} > doesn't work properly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-13743) RBF: Router throws NullPointerException due to the invalid initialization of MountTableResolver
[ https://issues.apache.org/jira/browse/HDFS-13743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Takanobu Asanuma updated HDFS-13743: Status: Patch Available (was: Open) > RBF: Router throws NullPointerException due to the invalid initialization of > MountTableResolver > --- > > Key: HDFS-13743 > URL: https://issues.apache.org/jira/browse/HDFS-13743 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma >Priority: Major > Attachments: HDFS-13743.1.patch > > > When {{dfs.federation.router.default.nameserviceId}} isn't set and any other > default name service isn't found, clients can't submit requests to the router > because of {{NullPointerException}}. > # client side > {noformat} > $ hadoop fs -ls hdfs://router:/ > ls: java.lang.NullPointerException > {noformat} > # Router log > {noformat} > java.lang.NullPointerException > at java.util.TreeMap.getEntry(TreeMap.java:347) > at java.util.TreeMap.containsKey(TreeMap.java:232) > at java.util.TreeSet.contains(TreeSet.java:234) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2287) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2239) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getFileInfo(RouterRpcServer.java:1163) > at > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getFileInfo(ClientNamenodeProtocolServerSideTranslatorPB.java:966) > at > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1689) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682) > {noformat} > The cause of this error is that the initialization of {{MountTableResolver}} > doesn't work properly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-13743) RBF: Router throws NullPointerException due to the invalid initialization of MountTableResolver
[ https://issues.apache.org/jira/browse/HDFS-13743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Takanobu Asanuma updated HDFS-13743: Attachment: HDFS-13743.1.patch > RBF: Router throws NullPointerException due to the invalid initialization of > MountTableResolver > --- > > Key: HDFS-13743 > URL: https://issues.apache.org/jira/browse/HDFS-13743 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma >Priority: Major > Attachments: HDFS-13743.1.patch > > > When {{dfs.federation.router.default.nameserviceId}} isn't set and any other > default name service isn't found, clients can't submit requests to the router > because of {{NullPointerException}}. > # client side > {noformat} > $ hadoop fs -ls hdfs://router:/ > ls: java.lang.NullPointerException > {noformat} > # Router log > {noformat} > java.lang.NullPointerException > at java.util.TreeMap.getEntry(TreeMap.java:347) > at java.util.TreeMap.containsKey(TreeMap.java:232) > at java.util.TreeSet.contains(TreeSet.java:234) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2287) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2239) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getFileInfo(RouterRpcServer.java:1163) > at > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getFileInfo(ClientNamenodeProtocolServerSideTranslatorPB.java:966) > at > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1689) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682) > {noformat} > The cause of this error is that the initialization of {{MountTableResolver}} > doesn't work properly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-13743) RBF: Router throws NullPointerException due to the invalid initialization of MountTableResolver
[ https://issues.apache.org/jira/browse/HDFS-13743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Takanobu Asanuma updated HDFS-13743: Summary: RBF: Router throws NullPointerException due to the invalid initialization of MountTableResolver (was: Router throws NullPointerException due to the invalid initialization of MountTableResolver) > RBF: Router throws NullPointerException due to the invalid initialization of > MountTableResolver > --- > > Key: HDFS-13743 > URL: https://issues.apache.org/jira/browse/HDFS-13743 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma >Priority: Major > > When {{dfs.federation.router.default.nameserviceId}} isn't set and any other > default name service isn't found, clients can't submit requests to the router > because of {{NullPointerException}}. > # client side > {noformat} > $ hadoop fs -ls hdfs://router:/ > ls: java.lang.NullPointerException > {noformat} > # Router log > {noformat} > java.lang.NullPointerException > at java.util.TreeMap.getEntry(TreeMap.java:347) > at java.util.TreeMap.containsKey(TreeMap.java:232) > at java.util.TreeSet.contains(TreeSet.java:234) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2287) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getLocationsForPath(RouterRpcServer.java:2239) > at > org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.getFileInfo(RouterRpcServer.java:1163) > at > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getFileInfo(ClientNamenodeProtocolServerSideTranslatorPB.java:966) > at > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876) > at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1689) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682) > {noformat} > The cause of this error is that the initialization of {{MountTableResolver}} > doesn't work properly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org