Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
getShipFilesと授業getCacheFiles中はどう違いますか?EvalFunc
getShipFiles
getCacheFiles
EvalFunc
このメソッドで指定された任意のファイルがexec、分散キャッシュからメソッドで利用できると仮定します
exec
getCacheFiles() UDF が分散キャッシュに配置する hdfs ファイルのリストを指定できるようにします。
getShipFiles() UDF が分散キャッシュに配置するローカル ファイルのリストを指定できるようにします。
したがって、getShipFiles はローカル ファイルからファイルを取得し、Cache は HDFS からファイルを取得します。