You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2020/03/17 18:34:00 UTC

[jira] [Commented] (HBASE-23957) [flakey test] client.TestMultiParallel fails to read hbase-site.xml

    [ https://issues.apache.org/jira/browse/HBASE-23957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17061105#comment-17061105 ] 

Michael Stack commented on HBASE-23957:
---------------------------------------

I've seen a version of this where the xml parse fails at the first character which translates as the file is empty. When I go to look at it, of course, its not.

Yes, seems to be because of parallel tests. I thought the hbase-site.xml was put into target/test-classes/ by the build. Need to confirm. Is the MR job overwriting it (a speculation made offline by our Nick). Is so, why. Is this some failed outputdir misconfig issue? Why is the job. making reference to anything outside of the test data dir?

> [flakey test] client.TestMultiParallel fails to read hbase-site.xml
> -------------------------------------------------------------------
>
>                 Key: HBASE-23957
>                 URL: https://issues.apache.org/jira/browse/HBASE-23957
>             Project: HBase
>          Issue Type: Test
>          Components: test
>            Reporter: Nick Dimiduk
>            Priority: Minor
>
> Saw this on a [PreCommit run|https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1258/1/artifact/yetus-jdk8-hadoop2-check/output/patch-unit-hbase-server.txt].
> Log file says
> {noformat}
> 2020-03-09 22:48:26,295 FATAL [Time-limited test] conf.Configuration(2853): error parsing conf hbase-site.xml
> java.io.FileNotFoundException: /home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1258@2/yetus-jdk8-hadoop2-check/src/hbase-server/target/test-classes/hbase-site.xml (No such file or directory)
> 	at java.io.FileInputStream.open0(Native Method)
> 	at java.io.FileInputStream.open(FileInputStream.java:195)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:138)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:93)
> 	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
> 	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
> 	at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2672)
> 	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2746)
> 	at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2706)
> 	at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2579)
> 	at org.apache.hadoop.conf.Configuration.get(Configuration.java:1091)
> 	at org.apache.hadoop.conf.Configuration.getTrimmed(Configuration.java:1145)
> 	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2363)
> 	at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2793)
> 	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2810)
> 	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:100)
> 	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2849)
> 	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2831)
> 	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:389)
> 	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:181)
> 	at org.apache.hadoop.hbase.fs.HFileSystem.<init>(HFileSystem.java:85)
> 	at org.apache.hadoop.hbase.fs.HFileSystem.get(HFileSystem.java:465)
> 	at org.apache.hadoop.hbase.HBaseTestingUtility.getTestFileSystem(HBaseTestingUtility.java:3180)
> 	at org.apache.hadoop.hbase.HBaseTestingUtility.getNewDataTestDirOnTestFS(HBaseTestingUtility.java:507)
> 	at org.apache.hadoop.hbase.HBaseTestingUtility.setupDataTestDirOnTestFS(HBaseTestingUtility.java:496)
> 	at org.apache.hadoop.hbase.HBaseTestingUtility.getDataTestDirOnTestFS(HBaseTestingUtility.java:469)
> 	at org.apache.hadoop.hbase.HBaseTestingUtility.getDataTestDirOnTestFS(HBaseTestingUtility.java:483)
> 	at org.apache.hadoop.hbase.HBaseTestingUtility.createDirsAndSetProperties(HBaseTestingUtility.java:651)
> 	at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster(HBaseTestingUtility.java:603)
> 	at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster(HBaseTestingUtility.java:586)
> 	at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:1039)
> 	at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:1004)
> 	at org.apache.hadoop.hbase.client.TestMultiParallel.beforeClass(TestMultiParallel.java:96)
> {noformat}
> This stage ran on H9.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)