HPE CRAY 자료 공유

[log4j] HPCM 1.6 본문

Applications

[log4j] HPCM 1.6

CRAY KOREA Blog 2022. 3. 11. 15:45

1. 조치 전

curl -X GET "admin:9200/_cluster/health?pretty"
{
  "cluster_name" : "hpcm_cluster",
  "status" : "yellow",
  "timed_out" : false,
  "number_of_nodes" : 1,
  "number_of_data_nodes" : 1,
  "active_primary_shards" : 520,
  "active_shards" : 520,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 519,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 0,
  "active_shards_percent_as_number" : 50.04812319538018
}

 

2. 파일 수정

# vi /etc/elasticsearch/jvm.options
87라인 아래 구문 추가
­Dlog4j.format.msg.no.lookups=true

 

3. 서비스 재기동

# systemctl restart elasticsearch.service 

 

4. 확인

curl -X GET "admin:9200/_cluster/health?pretty"
curl: (7) Failed connect to admin:9200; Connection refused

 

'Applications' 카테고리의 다른 글

[Windows] OS 최적화 팁  (0) 2024.05.02