GithubHelp home page GithubHelp logo

Comments (5)

JDatta avatar JDatta commented on September 28, 2024 1

Oddly, specifying the fully qualified hdfs path of the tar file works. See the following example

[hdfs@node1 ~]$ hadoop fs -ls tar:///jd/files.tar
17/01/29 00:19:03 INFO tar.TarFileSystem: *** Using Tar file system ***
-ls: Pathname /tar:/jd/files.tar from /tar:/jd/files.tar is not a valid DFS filename.
Usage: hadoop fs [generic options] -ls [-d] [-h] [-R] [<path> ...]
[hdfs@node1 ~]$ 
[hdfs@node1 ~]$ 
[hdfs@node1 ~]$ hadoop fs -ls tar://hdfs:///jd/files.tar
17/01/29 00:19:08 INFO tar.TarFileSystem: *** Using Tar file system ***
Found 3 items
-rw-rw-r--   2 hdfs hdfs         15 2017-01-27 04:26 tar://hdfs:/jd/files.tar/f1.txt
-rw-rw-r--   2 hdfs hdfs         15 2017-01-27 04:26 tar://hdfs:/jd/files.tar/f2.txt
-rw-rw-r--   2 hdfs hdfs         15 2017-01-27 04:26 tar://hdfs:/jd/files.tar/f3.txt

Will look more into it.

from tarfilesystem.

JDatta avatar JDatta commented on September 28, 2024

I haven't tested for this version of Hadoop. Will try to reproduce this.

from tarfilesystem.

JDatta avatar JDatta commented on September 28, 2024

I could reproduce the issue. I am looking into it.

from tarfilesystem.

JDatta avatar JDatta commented on September 28, 2024

Fixed this and released an interim beta here: https://github.com/JDatta/TarFileSystem/releases/tag/2.0_beta_30_Jan_2017

Please check if this works in your setup.

from tarfilesystem.

davidallsopp avatar davidallsopp commented on September 28, 2024

Many thanks for the fast response - that is working in our setup now!

from tarfilesystem.

Related Issues (7)

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.