【问题标题】:OpsCenter 5.2.1 rebalance failedOpsCenter 5.2.1 重新平衡失败
【发布时间】:2023-03-18 22:25:01
【问题描述】:

我正在尝试使用 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)

【问题讨论】:

    标签: datastax-enterprise opscenter datastax-startup


    【解决方案1】:

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

    要继续,请运行修复以确保数据在需要的任何位置,运行清理以确保避免再次出现此问题,然后使用 opscenter 启动另一个重新平衡。

    【讨论】:

    • 谢谢,我想这正是发生的事情。我昨晚开始修复,完成后我会按照您的建议进行 - 清理然后重新平衡。
    • 按照您的建议,修复,然后是清理和重新平衡按需要进行。谢谢
    猜你喜欢
    • 1970-01-01
    • 2017-02-26
    • 1970-01-01
    • 2017-03-02
    • 1970-01-01
    • 1970-01-01
    • 2015-12-14
    • 1970-01-01
    • 2019-06-18
    相关资源
    最近更新 更多