Coder Social home page Coder Social logo

Comments (5)

haoyuan avatar haoyuan commented on May 21, 2024

Hi Gabriel,

Thanks for reporting this. We are working on this issue. This PR is the
first part to fix it: #227

Thanks,

Haoy

On Tue, Jul 1, 2014 at 7:07 PM, geisbruch [email protected] wrote:

Hi,
I am testing Tachyon with CDH4.3. When I try to load a folder with spaces
I get the next error (and the folder isn't loaded)

The folder is a hive time partition folder
./bin/tachyon loadufs tachyon://e-00006658.melicloud.com:19998 hdfs://
namenode.melidoop.com:8020 /data/dejavu2
Exception in thread "main" java.io.IOException:
InvalidPathException(message:Path /data/dejavu2/ds=2011-05-25 03%3A00%3A00
is invalid.)
at tachyon.master.MasterClient.user_getFileId(MasterClient.java:461)
at tachyon.client.TachyonFS.getFileId(TachyonFS.java:647)
at tachyon.client.TachyonFS.exist(TachyonFS.java:419)
at tachyon.util.UnderfsUtil.getInfo(UnderfsUtil.java:82)
at tachyon.util.UnderfsUtil.main(UnderfsUtil.java:109)
Caused by: InvalidPathException(message:Path /data/dejavu2/ds=2011-05-25
03%3A00%3A00 is invalid.)
at
tachyon.thrift.MasterService$user_getFileId_result$user_getFileId_resultStandardScheme.read(MasterService.java:20728)
at
tachyon.thrift.MasterService$user_getFileId_result$user_getFileId_resultStandardScheme.read(MasterService.java:20706)
at
tachyon.thrift.MasterService$user_getFileId_result.read(MasterService.java:20650)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
at
tachyon.thrift.MasterService$Client.recv_user_getFileId(MasterService.java:739)
at
tachyon.thrift.MasterService$Client.user_getFileId(MasterService.java:726)
at tachyon.master.MasterClient.user_getFileId(MasterClient.java:459)
... 4 more

Looging a Little, I trace the error to here:
https://github.com/amplab/tachyon/blob/master/main/src/main/java/tachyon/util/CommonUtils.java#L543

Thanks,
Gabriel.


Reply to this email directly or view it on GitHub
#229.

from alluxio.

geisbruch avatar geisbruch commented on May 21, 2024

Haoy,
Thank you for the response, Today I will try to test this PR.

Gabriel.

from alluxio.

geisbruch avatar geisbruch commented on May 21, 2024

Hi Haoy,
I've checked the problem with your fork/branch and I have the same issue, Looking into your code I found that CommonUtils still checking space as invalid path.

https://github.com/uronce-cc/tachyon/blob/stringToPath/main/src/main/java/tachyon/util/CommonUtils.java#L541

Thanks,
Gabriel.

from alluxio.

haoyuan avatar haoyuan commented on May 21, 2024

Yea. That's the first step to address the issue. After merging that PR, we
will replace strings in the code to fix the issue.

Haoyuan

On Wed, Jul 2, 2014 at 6:56 AM, geisbruch [email protected] wrote:

Hi Haoy,
I've checked the problem with your fork/branch and I have the same issue,
Looking into your code I found that CommonUtils still checking space as
invalid path.

https://github.com/uronce-cc/tachyon/blob/stringToPath/main/src/main/java/tachyon/util/CommonUtils.java#L541

Thanks,
Gabriel.


Reply to this email directly or view it on GitHub
#229 (comment).

from alluxio.

haoyuan avatar haoyuan commented on May 21, 2024

Tracking in JIRA: https://tachyon.atlassian.net/browse/TACHYON-14?jql=project%20%3D%20TACHYON

from alluxio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.