Cluster 19

2017.09.18 - 번역 - How many shards should I have in my Elasticsearch cluster? ...

Elasticsearch is a very versatile platform, that supports a variety of use cases, and provides great flexibility around data organisation and replication strategies. This flexibility can however sometimes make it hard to determine up-front how to best organize your data into indices and shards, especially if you are new to the Elastic Stack. While suboptimal choices will not necessarily cause pr..

Blog 2019.01.07

2017.01.25 - 번역 - RED Elasticsearch Cluster? Panic no longer ...

Beep… beep… beep… It’s PagerDuty telling you that a node has gone down, or a rack has gone down, or your whole cluster has just rebooted. Either way, your cluster is RED: some shards are not assigned, which means that your data is not fully available.bepp... bepp... bepp... 호출기가 울린다. node 혹은 rack에 장애가 발생했다. 또는 전체 cluster가 reboot 되었다. 어느 쪽이든 cluster가 RED(일부 shard가 할당되지 않았다. 즉, data를 완전히 사용할 수 없다...

Blog 2019.01.07

2014.10.15 - 번역 - Elasticsearch from the Top Down ...

UPDATE: This article refers to our hosted Elasticsearch offering by an older name, Found. Please note that Found is now known as Elastic Cloud.이 게시물은 기존에 Found라는 이름으로 제공된 Elasticsearch 서비스에 관한 것이다. Found은 이제 Elasticsearch Cloud로 알려져 있다.The previous article in this series, Elasticsearch from the Bottom Up, covered essential data structures within a single shard. In this article, we will look at t..

Blog 2019.01.06

1-01-01. Installing and Running Elasticsearch

The easiest way to understand what Elasticsearch can do for you is to play with it, so let’s get started!Elasticsearch로 무엇을 할 수 있는지를 이해하는 가장 쉬운 방법은 동작시켜 보는 것이다. 자, 시작해 보자!The only requirement for installing Elasticsearch is a recent version of Java. Preferably, you should install the latest version of the official Java from www.java.com.Elasticsearch를 설치하기 위한 요구 조건은 Java 최신 버전뿐 이다. 가급적이면, www.ja..

1-01-02. Talking to Elasticsearch

How you talk to Elasticsearch depends on whether you are using Java.Elasticsearch와 통신하는 방법은 Java 사용 여부에 달려 있다.Java APIeditIf you are using Java, Elasticsearch comes with two built-in clients that you can use in your code:만약 Java 를 사용한다면, Elasticsearch는, 코드에서 사용할 수 있는, 두 종류의 기본 클라이언트를 제공한다.Node clientThe node client joins a local cluster as a non data node. In other words, it doesn’t hold any dat..

1-01-05. Indexing Employee Documents

The first order of business is storing employee data. This will take the form of an employee document: a single document represents a single employee. The act of storing data in Elasticsearch is called indexing, but before we can index a document, we need to decide where to store it.첫 번째 요구사항은 직원 데이터를 저장하는 것이다. 이것은 employee document 의 형태를 가질 것이다. 하나의 document는 직원 1명을 나타낸다. Elasticsearch에 데이터를 저장..

1-02. Life Inside a Cluster

Supplemental ChapterAs mentioned earlier, this is the first of several supplemental chapters about how Elasticsearch operates in a distributed environment. In this chapter, we explain commonly used terminology like cluster, node, and shard, the mechanics of how Elasticsearch scales out, and how it deals with hardware failure.앞에서 언급했듯이, 이 장은 분산 환경에서 Elasticsearch가 어떻게 동작하는지에 대한 여러 추가 장들 중의 첫 번째이다..

1-02-1. An Empty Cluster

If we start a single node, with no data and no indices, our cluster looks like Figure 1, “비어있는 단일 node로 된 cluster”.데이터도 없고, indices도 없는, 단일 node로 시작해보면, cluster는 Figure 1, “비어있는 단일 node로 된 cluster”처럼 보일 것이다.Figure 1. 비어있는 단일 node로 된 cluster A node is a running instance of Elasticsearch, while a cluster consists of one or more nodes with the same cluster.name that are working together to share th..