cannot delete path when it contains "="

24 views
Skip to first unread message

Jeff Tsai

unread,
Nov 4, 2016, 2:58:09 AM11/4/16
to Alluxio Users
for example: 

$ alluxio fs ls /tmp/ts=2016-01-01

10.52KB   11-04-2016 14:51:08:194  In Memory      /tmp/ts=2016-01-01/alluxio

$ alluxio fs rm -R /tmp/ts=2016-01-01

2016-11-04 14:53:51,331 ERROR type (AbstractClient.java:retryRPC) - Internal error processing remove

org.apache.thrift.TApplicationException: Internal error processing remove

        at org.apache.thrift.TApplicationException.read(TApplicationException.java:111)

        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:79)

        at alluxio.thrift.FileSystemMasterClientService$Client.recv_remove(FileSystemMasterClientService.java:591)

        at alluxio.thrift.FileSystemMasterClientService$Client.remove(FileSystemMasterClientService.java:577)

        at alluxio.client.file.FileSystemMasterClient$4.call(FileSystemMasterClient.java:150)

        at alluxio.client.file.FileSystemMasterClient$4.call(FileSystemMasterClient.java:147)

        at alluxio.AbstractClient.retryRPC(AbstractClient.java:348)

        at alluxio.client.file.FileSystemMasterClient.delete(FileSystemMasterClient.java:147)

        at alluxio.client.file.BaseFileSystem.delete(BaseFileSystem.java:117)

        at alluxio.shell.command.RmCommand.runCommand(RmCommand.java:69)

        at alluxio.shell.command.WithWildCardPathCommand.run(WithWildCardPathCommand.java:71)

        at alluxio.cli.AlluxioShell.run(AlluxioShell.java:177)

        at alluxio.cli.AlluxioShell.main(AlluxioShell.java:65)


My under filesystem is AWS s3 (cn-north), jets3t version is 0.9.4.


Is there any solution? thanks~

Calvin Jia

unread,
Nov 4, 2016, 3:42:09 PM11/4/16
to Alluxio Users
Hi,

If you are using S3, I would suggest to use the s3a connector instead of the s3n connector, you can do this by changing the under storage scheme to s3a instead of s3n.
You should not have this problem with s3a.

Hope this helps,
Calvin

Jeff Tsai

unread,
Nov 7, 2016, 12:58:40 AM11/7/16
to Alluxio Users
It works! Thank you very much :-D

在 2016年11月5日星期六 UTC+8上午3:42:09,Calvin Jia写道:

Calvin Jia

unread,
Nov 7, 2016, 12:13:23 PM11/7/16
to Alluxio Users
Thanks for confirming the fix!
Reply all
Reply to author
Forward
0 new messages