Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote rename failure: NullPointerException #269

Closed
gangliao opened this issue Jun 10, 2020 · 0 comments
Closed

remote rename failure: NullPointerException #269

gangliao opened this issue Jun 10, 2020 · 0 comments

Comments

@gangliao
Copy link
Collaborator

2020-06-10 08:56:08,645 INFO org.apache.hadoop.ipc.Server: IPC Server handler 0 on default port 10086, call Call#0 Retry#0 logEdit([B@6aca0bcb), rpc version=2, client version=1, methodsFingerPrint=-238232010 from 127.0.0.1:50232
java.io.IOException: java.lang.NullPointerException
        at org.apache.hadoop.hdfs.server.namenode.FSEditLogProtocolImpl.logEdit(FSEditLogProtocolImpl.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.hadoop.ipc.WritableRpcEngine$Server$WritableRpcInvoker.call(WritableRpcEngine.java:519)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025)
        at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:906)
        at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:852)
        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:1876)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2753)
2020-06-10 08:56:08,665 INFO org.apache.hadoop.hdfs.StateChange: STATE* Safe mode is already OFF
gangliao added a commit that referenced this issue Jun 10, 2020
* remote rename failure: NullPointerException (#269)

* add parent into INode in fsimage proto

* fix typo

* fix: INodeSection.INode.getParent

* fix: replace FSEditLogProtocol with FSEditLogProtocolImpl

* fix: only async remove current folder node

* import CompletableFuture

* fix: rename childs' parent id

* fix: compile error

* fix typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant