This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jun 15 16:09:12.751 build-5 [liferay-767c58bcf7-d5sgk] java.lang.NullPointerException | |
at com.liferay.portal.search.elasticsearch7.internal.index.IndexSynchronizerImpl.createIndex(IndexSynchronizerImpl.java:143) | |
at com.liferay.portal.search.elasticsearch7.internal.index.IndexSynchronizerImpl.synchronizeIndexDefinition(IndexSynchronizerImpl.java:80) | |
at java.util.ArrayList.forEach(ArrayList.java:1257) | |
at com.liferay.portal.search.elasticsearch7.internal.index.IndexSynchronizerImpl.synchronizeIndexes(IndexSynchronizerImpl.java:101) | |
at com.liferay.portal.search.elasticsearch7.internal.index.IndexSynchronizationPortalInitializedListener.activate(IndexSynchronizationPortalInitializedListener.java:40) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jul 16 09:20:16.236 build-5 liferay[liferay-dcc8c46b7-5z9tw] java.lang.RuntimeException: java.net.ConnectException: Connection refused | |
at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.cluster.HealthClusterRequestExecutorImpl.getClusterHealthResponse(HealthClusterRequestExecutorImpl.java:101) | |
at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.cluster.HealthClusterRequestExecutorImpl.execute(HealthClusterRequestExecutorImpl.java:49) | |
at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.cluster.ElasticsearchClusterRequestExecutor.executeClusterRequest(ElasticsearchClusterRequestExecutor.java:51) | |
at com.liferay.portal.search.engine.adapter.cluster.HealthClusterRequest.accept(HealthClusterRequest.java:37) | |
at com.liferay.portal.search.engine.adapter.cluster.HealthClusterRequest.accept(HealthClusterRequest.java:22) | |
at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.cluster.ElasticsearchClusterRequestExecutor.execute |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {execSync} from 'child_process'; | |
function main() { | |
const stdout = execSync( | |
"kubectl get deployment --all-namespaces --selector=projectCustomer=yes | awk '{print $1,$2}' | tail -n +2", | |
); | |
const results = stdout | |
.toString() | |
.split(/\n/) |