es 2.2.0 バージョンを Hadoop HDFS と統合しようとしています。私の環境では、1 つのマスター ノードと 1 つのデータ ノードがあります。マスター ノードに Es がインストールされています。しかし、HDFS と統合している間、リソース マネージャー アプリケーションのジョブが Accepted 状態でスタックします。どういうわけか、yarn-site.xml 設定を変更するためのリンクを見つけました:
<property>
<name>yarn.nodemanager.resource.memory-mb</name>
<value>2200</value>
<description>Amount of physical memory, in MB, that can be allocated for containers.</description>
</property>
<property>
<name>yarn.scheduler.minimum-allocation-mb</name>
<value>500</value>
</property>
私もこれを行いましたが、期待される出力が得られません。
構成:-
私のcore-site.xml
<property>
<name>hadoop.tmp.dir</name>
<value>/app/hadoop/tmp</value>
<description>A base for other temporary directories.
</description> </property>
<property> <name>fs.default.name</name>
<value>
hdfs://localhost:54310
</value>
<description>The name of the default file system. A URI whose scheme and authority determine the FileSystem implementation. The uri's scheme determines the config property (fs.SCHEME.impl) naming the FileSystem implementation class. The uri's authority is used to determine the host, port, etc. for a filesystem.
</description>
</property>
私のmapred-site.xml、
<property>
<name>mapred.job.tracker</name>
<value>localhost:54311</value>
<description>The host and port that the MapReduce job tracker runs at. If "local", then jobs are run in-process as a single map and reduce task. </description>
</property>
私のhdfs-site.xml、
<property>
<name>dfs.replication</name> <value>1</value> <description>Default block replication. The actual number of replications can be specified when the file is created. The default is used if replication is not specified in create time. </description>
</property>
RM ジョブを実行中の状態に変更する方法を教えてください。そうすれば、HDFS で Elasticsearch データを使用できます。