91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

impala大數據量查詢/tmp/impala-scratch創建異常

發布時間:2020-06-08 23:09:34 來源:網絡 閱讀:2688 作者:xubcing 欄目:大數據

使用impala做大數據量查詢distinct的時候報如下錯誤

WARNINGS: Create file /tmp/impala-scratch/24414dab2c19caca:e54b206c5ab149d_24414dab2c19caca:e54b206c5ab149f_91001337-9d70-4c93-84ce-e7916c1ae804 failed with errno=2 description=Error(2): No such file or directory
Backend 4:Create file /tmp/impala-scratch/24414dab2c19caca:e54b206c5ab149d_24414dab2c19caca:e54b206c5ab149f_91001337-9d70-4c93-84ce-e7916c1ae804 failed with errno=2 description=Error(2): No such file or directory

查閱文檔知道impala在大數據量處理時會用到磁盤保存數據

  • By default, intermediate files used during large sort, join, aggregation, or analytic function operations are stored in the directory /tmp/impala-scratch. These files are removed when the operation finishes. (Multiple concurrent queries can perform operations that use the "spill to disk" technique, without any name conflicts for these temporary files.) You can specify a different location by starting the impalad daemon with the --scratch_dirs="path_to_directory" configuration option or the equivalent configuration option in the Cloudera Manager user interface. You can specify a single directory, or a comma-separated list of directories. The scratch directories must be on the local filesystem, not in HDFS. You might specify different directory paths for different hosts, depending on the capacity and speed of the available storage devices. Impala will not start if it cannot create or read and write files in the "scratch" directory. If there is less than 1 GB free on the filesystem where that directory resides, Impala still runs, but writes a warning message to its log.


直接到各個impalad節點上創建/tmp/impala-scratch目錄,并賦予讀寫權限

 mkdir /tmp/impala-scratch
 chmod 777 /tmp/impala-scratch


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

邻水| 申扎县| 临漳县| 合江县| 陆良县| 岳池县| 湘乡市| 繁峙县| 迁安市| 连江县| 新昌县| 梁河县| 新乐市| 邛崃市| 宜兴市| 东方市| 大港区| 天台县| 上林县| 兰州市| 三河市| 陇川县| 于田县| 沂水县| 清镇市| 凯里市| 高要市| 信宜市| 新乡市| 新宁县| 工布江达县| 平乐县| 仁寿县| 上虞市| 宁夏| 宁都县| 鹤岗市| 读书| 大竹县| 常熟市| 湟中县|