snopy
V2EX  ›  Hadoop

hive 的存储路径的 .hive-staging_hive_yyyy-MM-dd_HH-mm-ss_SSS_xxxx-x 文件可以清理掉吗

  •  1
     
  •   snopy · Nov 1, 2016 · 5617 views
    This topic created in 3564 days ago, the information mentioned may be changed or developed.

    hive 的存储路径下发现大量 .hive-staging_hive_yyyy-MM-dd_HH-mm-ss_SSS_xxxx-x 文件,而且个别文件已达到 GB 规模,不清楚能不能清理掉。此为发帖原因

    ---------------我是分割线----------------

    已尝试在谷歌上搜索关于这种文件的相关介绍,目前仅发现这篇 [ http://codefudg.blogspot.jp/2015/03/issuefix-too-many-hive-staging.html ] 资料,但是没涉及到我想问的问题,特来此求助大牛。

    tool-manager

    3 replies    2016-11-02 06:34:24 +08:00
    20150517
        1
    20150517  
       Nov 1, 2016
    staging 文件可以清理的,这是 query 运行后留下的,但我们的好像是自动清理的,不知道为什么你有这么多
    snopy
        2
    snopy  
    OP
       Nov 1, 2016
    @20150517 有没有 staging 文件的说明?我在 google 上没搜到中文版的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   996 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 19:20 · PVG 03:20 · LAX 12:20 · JFK 15:20
    ♥ Do have faith in what you're doing.