hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject hadoop git commit: HADOOP-13125 FS Contract tests don't report FS initialization errors well. (stevel)
Date Wed, 11 May 2016 13:20:34 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 bbd463b3b -> ed2230ec7


HADOOP-13125 FS Contract tests don't report FS initialization errors well. (stevel)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ed2230ec
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ed2230ec
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ed2230ec

Branch: refs/heads/branch-2.8
Commit: ed2230ec7df9f07fd640609ba6eb64e85906e9bb
Parents: bbd463b
Author: Steve Loughran <stevel@apache.org>
Authored: Wed May 11 14:19:12 2016 +0100
Committer: Steve Loughran <stevel@apache.org>
Committed: Wed May 11 14:19:12 2016 +0100

----------------------------------------------------------------------
 .../org/apache/hadoop/fs/contract/AbstractBondedFSContract.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/ed2230ec/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractBondedFSContract.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractBondedFSContract.java
b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractBondedFSContract.java
index 2475639..e7766f3 100644
--- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractBondedFSContract.java
+++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/AbstractBondedFSContract.java
@@ -73,7 +73,8 @@ public abstract class AbstractBondedFSContract extends AbstractFSContract
{
       } catch (URISyntaxException e) {
         throw new IOException("Invalid URI " + fsName);
       } catch (IllegalArgumentException e) {
-        throw new IOException("Invalid URI " + fsName, e);
+        throw new IOException("Unable to initialize filesystem " + fsName
+            + ": " + e, e);
       }
     } else {
       LOG.info("skipping tests as FS name is not defined in "


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message