Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
3c51579
Merge pull request #1 from apache/trunk
GuoPhilipse Nov 29, 2020
a449d04
Merge pull request #2 from apache/trunk
GuoPhilipse Dec 12, 2020
d4f968b
Merge pull request #3 from apache/trunk
GuoPhilipse Apr 7, 2021
d522abf
Merge pull request #4 from apache/trunk
GuoPhilipse Apr 21, 2021
de633b8
Merge pull request #5 from apache/trunk
GuoPhilipse Oct 16, 2021
66ce06b
Merge pull request #6 from apache/trunk
GuoPhilipse Nov 8, 2021
bea061f
Merge pull request #7 from apache/trunk
GuoPhilipse Nov 19, 2021
ee06d41
'triggerrebuild'
tclxgf13871 Nov 25, 2021
9375f21
Merge pull request #8 from apache/trunk
GuoPhilipse Dec 7, 2021
8721aa8
Merge branch 'trunk' of github.com:GuoPhilipse/hadoop into trunk
tclxgf13871 Dec 8, 2021
56a7aea
Merge pull request #9 from apache/trunk
GuoPhilipse Dec 10, 2021
9d39e29
Merge branch 'trunk' of github.com:GuoPhilipse/hadoop into trunk
tclxgf13871 Dec 13, 2021
989f31c
Merge pull request #10 from apache/trunk
GuoPhilipse Dec 30, 2021
d028aae
Merge branch 'trunk' of github.com:GuoPhilipse/hadoop into trunk
tclxgf13871 Dec 30, 2021
60f347a
Merge pull request #11 from apache/trunk
GuoPhilipse Jan 19, 2022
296d306
Merge branch 'trunk' of github.com:GuoPhilipse/hadoop into trunk
tclxgf13871 Jan 19, 2022
99a3513
Merge pull request #12 from apache/trunk
GuoPhilipse Feb 9, 2022
0797b25
Merge pull request #13 from apache/trunk
GuoPhilipse Mar 21, 2022
1881045
Merge branch 'trunk' of github.com:GuoPhilipse/hadoop into trunk
tclxgf13871 Mar 21, 2022
f50700e
improve ec error message
tclxgf13871 Mar 21, 2022
9073517
fixtestcase
tclxgf13871 Mar 22, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ private static List<XAttr> setErasureCodingPolicyXAttr(final FSNamesystem fsn,
throw new FileNotFoundException("Path not found: " + srcIIP.getPath());
}
if (!inode.isDirectory()) {
throw new IOException("Attempt to set an erasure coding policy " +
"for a file " + src);
throw new IOException("Cannot set an erasure coding policy " +
"for a file " + src + ". Expected to be a directory");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: "Expected to be a directory" -> "Erasure coding policy can only be set for directories."

}

final XAttr ecXAttr;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ public void testEcPolicyOnFile() throws Exception {
fs.setErasureCodingPolicy(ecFilePath, ecPolicy.getName());
fail("IOException should be thrown for setting EC policy on file");
} catch (IOException e) {
assertExceptionContains("Attempt to set an erasure coding policy " +
"for a file " + ecFilePath, e);
assertExceptionContains("Cannot set an erasure coding policy " +
"for a file " + ecFilePath + ". Expected to be a directory", e);
}

// Unset EC policy on file
Expand Down