accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3002) Handle instance.volumes in upgrade
Date Fri, 19 Dec 2014 19:27:13 GMT

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

Keith Turner commented on ACCUMULO-3002:
----------------------------------------

I wish I had taken more notes about what the actual problem was, because I can not remember.
 I just ran two quick test on my workstation.  I started up 1.5.1, created a table, shut it
down, set two URIs in instance.volumes, and started 1.6.1.  For the two volumes I set, one
was the existing 1.5.1 dir and the other was a dir in hdfs that did not exist.  When I did
this, all server processes failed to start w/ a message like the following.  The URI in the
error message is the dir that did not exist.

{noformat}
2014-12-19 12:16:41,195 [zookeeper.ZooUtil] ERROR: unable obtain instance id at hdfs://nn1/accumulo2/instance_id
2014-12-19 12:16:41,196 [master.Master] ERROR: Unexpected exception, exiting
java.lang.RuntimeException: Accumulo not initialized, there is no instance id at hdfs://nn1/accumulo2/instance_id
	at org.apache.accumulo.core.zookeeper.ZooUtil.getInstanceIDFromHdfs(ZooUtil.java:62)
	at org.apache.accumulo.server.client.HdfsZooInstance._getInstanceID(HdfsZooInstance.java:132)
	at org.apache.accumulo.server.client.HdfsZooInstance.getInstanceID(HdfsZooInstance.java:116)
	at org.apache.accumulo.server.conf.ServerConfigurationFactory.<init>(ServerConfigurationFactory.java:113)
	at org.apache.accumulo.server.conf.ServerConfiguration.<init>(ServerConfiguration.java:79)
	at org.apache.accumulo.master.Master.main(Master.java:1147)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.accumulo.start.Main$1.run(Main.java:141)
	at java.lang.Thread.run(Thread.java:745)
{noformat}

After that I set instance.volumes to only the existing 1.5.1 dir and that worked ok.   

> Handle instance.volumes in upgrade
> ----------------------------------
>
>                 Key: ACCUMULO-3002
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3002
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Keith Turner
>            Priority: Blocker
>             Fix For: 1.6.2, 1.7.0
>
>
> A user configured instance.volumes before upgrading and ran into problems.  The 1.6.0
release notes mention not to do this.  However thats not really enough.  Need to fix this
issues or make the upgrade abort if instance.volumes is configured.



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

Mime
View raw message