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

Duo Zhang commented on HBASE-16985:
-----------------------------------

{noformat}
tep 14 : RUN apt-get -q install --no-install-recommends -y 
oracle-java8-installer
 ---> Running in 503910bd11dc
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
  binfmt-support visualvm ttf-baekmuk ttf-unfonts ttf-unfonts-core
  ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho
  ttf-arphic-uming firefox firefox-2 iceweasel mozilla-firefox iceape-browser
  mozilla-browser epiphany-gecko epiphany-webkit epiphany-browser galeon
  midbrowser moblin-web-browser xulrunner xulrunner-1.9 konqueror
  chromium-browser midori google-chrome
The following NEW packages will be installed:
  oracle-java8-installer
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.6 kB of archives.
After this operation, 93.2 kB of additional disk space will be used.
Err http://ppa.launchpad.net/webupd8team/java/ubuntu/ trusty/main 
oracle-java8-installer all 8u101+8u101arm-1~webupd8~2
  404  Not Found
E: Failed to fetch 
http://ppa.launchpad.net/webupd8team/java/ubuntu/pool/main/o/oracle-java8-installer/oracle-java8-installer_8u101+8u101arm-1~webupd8~2_all.deb
  404  Not Found
{noformat}

Actually the java8 version is 8u111 now, the url should be

http://ppa.launchpad.net/webupd8team/java/ubuntu/pool/main/o/oracle-java8-installer/oracle-java8-installer_8u111+8u111arm-1~webupd8~0_all.deb

Digging...

> TestClusterId failed due to wrong hbase rootdir
> -----------------------------------------------
>
>                 Key: HBASE-16985
>                 URL: https://issues.apache.org/jira/browse/HBASE-16985
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>            Priority: Minor
>         Attachments: HBASE-16985-branch-1-v1.patch, 
> HBASE-16985-branch-1-v1.patch, HBASE-16985-branch-1.patch, 
> HBASE-16985-branch-1.patch
>
>
> https://builds.apache.org/job/PreCommit-HBASE-Build/4253/testReport/org.apache.hadoop.hbase.regionserver/TestClusterId/testClusterId/
> {code}
> java.io.IOException: Shutting down
>       at 
> org.apache.hadoop.hbase.util.JVMClusterUtil.startup(JVMClusterUtil.java:230)
>       at 
> org.apache.hadoop.hbase.LocalHBaseCluster.startup(LocalHBaseCluster.java:409)
>       at 
> org.apache.hadoop.hbase.MiniHBaseCluster.init(MiniHBaseCluster.java:227)
>       at 
> org.apache.hadoop.hbase.MiniHBaseCluster.<init>(MiniHBaseCluster.java:96)
>       at 
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniHBaseCluster(HBaseTestingUtility.java:1071)
>       at 
> org.apache.hadoop.hbase.HBaseTestingUtility.startMiniHBaseCluster(HBaseTestingUtility.java:1037)
>       at 
> org.apache.hadoop.hbase.regionserver.TestClusterId.testClusterId(TestClusterId.java:85)
> {code}
> The cluster can not start up because there are no active master. The active 
> master can not finish initialing because the hbase:namespace region can not 
> be assign. 
> In TestClusterId unit test, TEST_UTIL.startMiniHBaseCluster set new hbase 
> root dir. But the regionserver thread which stared first used  a different 
> hbase root dir. If assign hbase:namespace region to this regionserver, the 
> region can not be assigned because there are no tableinfo on wrong hbase root 
> dir.
> When regionserver report to master, it will get back some new config. But the 
> FSTableDescriptors has been initialed so it's root dir didn't changed.
> {code}
> if (LOG.isDebugEnabled()) {
>     LOG.info("Config from master: " + key + "=" + value);
> }
> {code} 
> I thought FSTableDescriptors need update the rootdir when regionserver get 
> report from master.
> The master branch has same problem, too. But the balancer always assign 
> hbase:namesapce region to master. So this unit test can passed on master 
> branch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to