I have a 1.7 accumulo ,and now I upgrade it to 1.8.

I run the start-here.sh,it looks well.
```
Starting tserver on 172.19.106.103
2016-11-22 22:08:59,115 [security.SecurityUtil] INFO : Attempting to login
with keytab as ${principal}
2016-11-22 22:08:59,295 [security.SecurityUtil] INFO : Succesfully logged
in as user ${principal}
2016-11-22 22:08:59,800 [fs.VolumeManagerImpl] WARN :
dfs.datanode.synconclose set to false in hdfs-site.xml: data loss is
possible on hard system reset or power loss
2016-11-22 22:08:59,803 [server.Accumulo] INFO : Attempting to talk to
zookeeper
2016-11-22 22:08:59,924 [server.Accumulo] INFO : ZooKeeper connected and
initialized, attempting to talk to HDFS
2016-11-22 22:08:59,990 [server.Accumulo] INFO : Connected to HDFS
Starting master on 172.19.106.103
Starting tracer on 172.19.106.103
```

But the master not  start success.
The log is this.
```
2016-11-22 22:09:18,388 [master.Master] DEBUG: Converting table 9z WALog
setting to Durability
2016-11-22 22:09:18,396 [master.Master] DEBUG: Upgrade creating namespace
"accumulo" (ID: +accumulo)
2016-11-22 22:09:18,401 [master.Master] DEBUG: Upgrade creating namespace
"" (ID: +default)
2016-11-22 22:09:18,401 [master.Master] DEBUG: Upgrade creating table
accumulo.replication (ID: +rep)
2016-11-22 22:09:18,403 [tables.TableManager] DEBUG: Creating ZooKeeper
entries for new table accumulo.replication (ID: +rep) in namespace (ID:
+accumulo)
2016-11-22 22:09:18,475 [master.Master] DEBUG: Upgrade creating table
accumulo.root (ID: +r)
2016-11-22 22:09:18,475 [tables.TableManager] DEBUG: Creating ZooKeeper
entries for new table accumulo.root (ID: +r) in namespace (ID: +accumulo)
2016-11-22 22:09:18,542 [Configuration.deprecation] INFO :
dfs.replication.min is deprecated. Instead, use dfs.namenode.replication.min
2016-11-22 22:09:25,597 [handler.ZKPermHandler] ERROR: KeeperErrorCode =
NoNode for
/accumulo/8f3d8a3e-4c96-4447-aae0-8951f806ba2d/users/cm9vdA==/Tables/+r
org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode =
NoNode for
/accumulo/8f3d8a3e-4c96-4447-aae0-8951f806ba2d/users/cm9vdA==/Tables/+r
        at
org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
        at
org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
        at
org.apache.accumulo.fate.zookeeper.ZooUtil.putData(ZooUtil.java:289)
        at
org.apache.accumulo.fate.zookeeper.ZooUtil.putPersistentData(ZooUtil.java:268)
        at
org.apache.accumulo.fate.zookeeper.ZooReaderWriter.putPersistentData(ZooReaderWriter.java:68)
        at
org.apache.accumulo.server.security.handler.ZKPermHandler.grantTablePermission(ZKPermHandler.java:217)
        at
org.apache.accumulo.server.security.handler.KerberosPermissionHandler.grantTablePermission(KerberosPermissionHandler.java:101)
        at
org.apache.accumulo.server.security.SecurityOperation.grantTablePermission(SecurityOperation.java:680)
        at
org.apache.accumulo.server.security.AuditedSecurityOperation.grantTablePermission(AuditedSecurityOperation.java:572)
        at
org.apache.accumulo.master.Master.upgradeZookeeper(Master.java:405)
        at org.apache.accumulo.master.Master.setMasterState(Master.java:264)
        at org.apache.accumulo.master.Master.getMasterLock(Master.java:1417)
        at org.apache.accumulo.master.Master.run(Master.java:1135)
        at org.apache.accumulo.master.Master.main(Master.java:1434)
        at
org.apache.accumulo.master.MasterExecutable.execute(MasterExecutable.java:33)
        at org.apache.accumulo.start.Main$1.run(Main.java:120)
        at java.lang.Thread.run(Thread.java:745)
2016-11-22 22:09:25,605 [master.Master] ERROR: FATAL: Error performing
upgrade
ThriftSecurityException(user:cm9vdA==, code:CONNECTION_ERROR)
        at
org.apache.accumulo.core.client.AccumuloSecurityException.asThriftException(AccumuloSecurityException.java:74)
        at
org.apache.accumulo.server.security.SecurityOperation.grantTablePermission(SecurityOperation.java:683)
        at
org.apache.accumulo.server.security.AuditedSecurityOperation.grantTablePermission(AuditedSecurityOperation.java:572)
        at
org.apache.accumulo.master.Master.upgradeZookeeper(Master.java:405)
        at org.apache.accumulo.master.Master.setMasterState(Master.java:264)
        at org.apache.accumulo.master.Master.getMasterLock(Master.java:1417)
        at org.apache.accumulo.master.Master.run(Master.java:1135)
        at org.apache.accumulo.master.Master.main(Master.java:1434)
        at
org.apache.accumulo.master.MasterExecutable.execute(MasterExecutable.java:33)
        at org.apache.accumulo.start.Main$1.run(Main.java:120)
        at java.lang.Thread.run(Thread.java:745)
```

How can I resolve it ?
Thanks.

Reply via email to