1

我正在尝试使用 OpsCenter 5.2.1 重新平衡 6 节点 DSE 集群,并且作业在 80% 时失败,并在 opscenterd.log 中出现以下堆栈错误。我们正在运行具有 6 个搜索节点的 DSE 4.8.0。我如何从这个错误中恢复?我可以再次运行重新平衡吗?还是我应该先运行修复?(或者是其他东西?)

2016-05-02 23:27:18+0000 [local]  WARN: Marking request '10.0.30.57: /ops/cleanup' (3bf6010a-6790-4301-9bf1-53c37fac61d8) as failed: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
                java.lang.ClassNotFoundException: org.apache.cassandra.db.compaction.CompactionInterruptedException (no security manager: RMI class loader disabled)
2016-05-02 23:27:18+0000 [local]  WARN: Marking request 'Cluster Rebalance' (6303d5ea-4382-40ff-905f-cbca051c7fa9) as failed: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
                java.lang.ClassNotFoundException: org.apache.cassandra.db.compaction.CompactionInterruptedException (no security manager: RMI class loader disabled)
2016-05-02 23:27:18+0000 [local] ERROR: Rebalance failed: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
                java.lang.ClassNotFoundException: org.apache.cassandra.db.compaction.CompactionInterruptedException (no security manager: RMI class loader disabled)
2016-05-02 23:27:18+0000 [local] ERROR: Traceback (most recent call last):
        Failure: twisted.python.failure.DefaultException: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
                java.lang.ClassNotFoundException: org.apache.cassandra.db.compaction.CompactionInterruptedException (no security manager: RMI class loader disabled)
2016-05-02 23:27:18+0000 [local] ERROR: Rebalance failed: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
                java.lang.ClassNotFoundException: org.apache.cassandra.db.compaction.CompactionInterruptedException (no security manager: RMI class loader disabled)
2016-05-02 23:27:18+0000 [local] ERROR: Rolling job failed: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
                java.lang.ClassNotFoundException: org.apache.cassandra.db.compaction.CompactionInterruptedException (no security manager: RMI class loader disabled)
2016-05-02 23:27:18+0000 [local] ERROR: Traceback (most recent call last):
          File "build/lib/python2.7/site-packages/opscenterd/ClusterUtils.py", line 607, in run
        DefaultException: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
                java.lang.ClassNotFoundException: org.apache.cassandra.db.compaction.CompactionInterruptedException (no security manager: RMI class loader disabled)
2016-05-02 23:27:18+0000 [local] ERROR: Rolling job failed: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
                java.lang.ClassNotFoundException: org.apache.cassandra.db.compaction.CompactionInterruptedException (no security manager: RMI class loader disabled)
2016-05-02 23:27:18+0000 [local] ERROR: Traceback (most recent call last):
          File "/usr/share/opscenter/lib/py-debian/2.7/amd64/twisted/internet/defer.py", line 388, in errback
            self._startRunCallbacks(fail)
          File "/usr/share/opscenter/lib/py-debian/2.7/amd64/twisted/internet/defer.py", line 455, in _startRunCallbacks
            self._runCallbacks()
          File "/usr/share/opscenter/lib/py-debian/2.7/amd64/twisted/internet/defer.py", line 542, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/usr/share/opscenter/lib/py-debian/2.7/amd64/twisted/internet/defer.py", line 1076, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "/usr/share/opscenter/lib/py-debian/2.7/amd64/twisted/internet/defer.py", line 1018, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "/usr/share/opscenter/lib/py-debian/2.7/amd64/twisted/python/failure.py", line 349, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
          File "build/lib/python2.7/site-packages/opscenterd/ClusterUtils.py", line 613, in run
          File "build/lib/python2.7/site-packages/opscenterd/ClusterUtils.py", line 607, in run
        twisted.python.failure.DefaultException: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
                java.lang.ClassNotFoundException: org.apache.cassandra.db.compaction.CompactionInterruptedException (no security manager: RMI class loader disabled)
4

1 回答 1

1

可能会引发该异常,因为当 opscenterd 在重新平衡期间移动节点后尝试启动清理时,节点上已经运行了清理。opscenter 代理在其类路径中没有异常,因此无法反序列化它。

要继续,请运行修复以确保数据无处不在,运行清理以确保避免重复此问题,然后使用 opscenter 启动另一个重新平衡。

于 2016-05-03T21:11:56.533 回答