Bug 1102467
| Summary: | listStatus corrupts : file paths with % and other URI Escape encodings are corrupted | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Jay Vyas <jvyas> |
| Component: | rhs-hadoop | Assignee: | Bradley Childs <bchilds> |
| Status: | CLOSED ERRATA | QA Contact: | Martin Bukatovic <mbukatov> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.1 | CC: | aavati, eboyd, matt, mbukatov, mkudlej, nlevinki, rhs-bugs, vbellur |
| Target Milestone: | Release Candidate | Keywords: | UpcomingRelease, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-hadoop-2.3.2-2 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-11-24 11:54:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1159155 | ||
|
Description
Jay Vyas
2014-05-29 03:48:23 UTC
Using plugin rhs-hadoop-2.3.2-2.noarch
Listing directory which contains files with '%' in filename:
~~~
$ hadoop fs -ls /tmp/bz-1102467
14/07/11 11:47:35 INFO glusterfs.GlusterVolume: Initializing gluster volume..
14/07/11 11:47:35 INFO glusterfs.GlusterFileSystem: Configuring GlusterFS
14/07/11 11:47:35 INFO glusterfs.GlusterFileSystem: Initializing GlusterFS, CRC disabled.
14/07/11 11:47:35 INFO glusterfs.GlusterFileSystem: GIT INFO={git.commit.id.abbrev=ab8c3c1, git.commit.user.email=bchilds.rdu2.redhat.com, git.commit.message.full=[update RPM spec file/changelog] - 2.3.2
, git.commit.id=ab8c3c13e09884dac077c7576f7bc80ac519a9b4, git.commit.message.short=[update RPM spec file/changelog] - 2.3.2, git.commit.user.name=Brad Childs, git.build.user.name=Unknown, git.commit.id.describe=2.3.4-2-gab8c3c1, git.build.user.email=Unknown, git.branch=master, git.commit.time=03.06.2014 @ 14:15:03 EDT, git.build.time=03.06.2014 @ 14:24:36 EDT}
14/07/11 11:47:35 INFO glusterfs.GlusterFileSystem: GIT_TAG=2.3.4
14/07/11 11:47:35 INFO glusterfs.GlusterFileSystem: Configuring GlusterFS
14/07/11 11:47:36 INFO glusterfs.GlusterVolume: Initializing gluster volume..
14/07/11 11:47:36 INFO glusterfs.GlusterVolume: Gluster volume: HadoopVol1 at : /mnt/glusterfs/HadoopVol1
14/07/11 11:47:36 INFO glusterfs.GlusterVolume: Working directory is : glusterfs:/user/tom
14/07/11 11:47:36 INFO glusterfs.GlusterVolume: Write buffer size : 131072
14/07/11 11:47:36 INFO glusterfs.GlusterVolume: Default block size : 67108864
Found 6 items
-rw-r--r-- 1 tom hadoop 0 2014-07-11 11:46 /tmp/bz-1102467/a%2a
-rw-r--r-- 1 tom hadoop 0 2014-07-11 11:46 /tmp/bz-1102467/bar
-rw-r--r-- 1 tom hadoop 0 2014-07-11 11:46 /tmp/bz-1102467/foo
-rw-r--r-- 1 tom hadoop 0 2014-07-11 11:47 /tmp/bz-1102467/foo%2a
-rw-r--r-- 1 tom hadoop 0 2014-07-11 11:47 /tmp/bz-1102467/foo%2b
-rw-r--r-- 1 tom hadoop 0 2014-07-11 11:47 /tmp/bz-1102467/foo%3c
$
~~~
All files are listed, so it works.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2014-1275.html |