2017-01-25 15 views

答えて

1

Apache Hadoopドキュメントは様々な* -default.xmlファイルに左側のナビゲーション内のリンクを含んでいます。これらのファイルには、すべての構成プロパティのデフォルト設定が含まれています。

* -default.xmlのリンクをクリックすると、ウェブサイトにはそれらがきれいに印刷された表が表示されます。ここにゴミ箱のプロパティについて議論しているcore-site.xmlの生のXMLバージョンがあります。この説明に基づいて

<property> 
    <name>fs.trash.interval</name> 
    <value>0</value> 
    <description>Number of minutes after which the checkpoint 
    gets deleted. If zero, the trash feature is disabled. 
    This option may be configured both on the server and the 
    client. If trash is disabled server side then the client 
    side configuration is checked. If trash is enabled on the 
    server side then the value configured on the server is 
    used and the client configuration value is ignored. 
    </description> 
</property> 

<property> 
    <name>fs.trash.checkpoint.interval</name> 
    <value>0</value> 
    <description>Number of minutes between trash checkpoints. 
    Should be smaller or equal to fs.trash.interval. If zero, 
    the value is set to the value of fs.trash.interval. 
    Every time the checkpointer runs it creates a new checkpoint 
    out of current and removes checkpoints created more than 
    fs.trash.interval minutes ago. 
    </description> 
</property> 

あなたがfs.trash.checkpoint.intervalを変更していない場合、それはfs.trash.intervalと同じ値を使用し、それはそれはゴミのチェックポイントを作成する方法を頻繁にあります。

fs.trash.checkpoint.interval構成プロパティは、Apache Hadoop 2.xリリースラインで導入されました。以前のリリースではこの設定プロパティはサポートされていなかったので、その動作はfs.trash.checkpoint.intervalfs.trash.intervalに等しいことと同等であると考えることができます。

+0

お返事ありがとうございます。しかし、clouderaディストリビューションでは、fs.trash.checkpoint.intervalの定義はありません。だから私はチェックポイントが作成される方法を理解していないのですか? – mvera

+0

@mvera、2.xの代わりにApache Hadoop 1.xに基づいて古いバージョンのCDHを実行している可能性はありますか? 'fs.trash.checkpoint.interval'設定プロパティがApache Hadoop 2.xに導入され、1.xでの動作が何であるかを説明する別の段落を追加しました。あなたが 'fs.trash.checkpoint.interval'をサポートしているバージョンを実行していると確信しているなら、おそらくこれはCloudera Managerのような管理ツールを使ってCDHがユーザーに伝えるものの問題です。 –

+0

最近のcloudera 5.9ディストリビューションを使用しています。 – mvera

関連する問題