<strike id="j6ksu"></strike>
<th id="j6ksu"></th>
  1. <th id="j6ksu"></th>

    解決Sqoop運行Warning: /usr/sqoop/sqoop-1.4.7/../accumulo does not exist

    Hadoop 潘老師 6個月前 (05-18) 724 ℃ (0) 掃碼查看

    我們在搭建Sqoop之后開始運行遷移數據,可能會發現如下報錯:

    Warning: /usr/sqoop/sqoop-1.4.7/../hcatalog does not exist! HCatalog jobs will fail.
    Please set $HCAT_HOME to the root of your HCatalog installation.
    Warning: /usr/sqoop/sqoop-1.4.7/../accumulo does not exist! Accumulo imports will fail.
    Please set $ACCUMULO_HOME to the root of your Accumulo installation.
    No such sqoop tool: mport. See 'sqoop help'
    

    我們解決辦法如下:
    $SQOOP_HOME/bin目錄下面修改configure-sqoop文件,注釋掉以下內容:

    #if [ -z "${HCAT_HOME}" ]; then
    # if [ -d "/usr/lib/hive-hcatalog" ]; then
    #  HCAT_HOME=/usr/lib/hive-hcatalog
    # elif [ -d "/usr/lib/hcatalog" ]; then
    #    HCAT_HOME=/usr/lib/hcatalog
    #  else
    #    HCAT_HOME=${SQOOP_HOME}/../hive-hcatalog
    #    if [ ! -d ${HCAT_HOME} ]; then
    #       HCAT_HOME=${SQOOP_HOME}/../hcatalog
    #    fi
    #  fi
    #fi
    #if [ -z "${ACCUMULO_HOME}" ]; then
    #  if [ -d "/usr/lib/accumulo" ]; then
    #    ACCUMULO_HOME=/usr/lib/accumulo
    #  else
    #    ACCUMULO_HOME=${SQOOP_HOME}/../accumulo
    #  fi
    #fi
    
    
    ## Moved to be a runtime check in sqoop.
    #if [ ! -d "${HCAT_HOME}" ]; then
    #  echo "Warning: $HCAT_HOME does not exist! HCatalog jobs will fail."
    #  echo 'Please set $HCAT_HOME to the root of your HCatalog installation.'
    #fi
    
    #if [ ! -d "${ACCUMULO_HOME}" ]; then
    #  echo "Warning: $ACCUMULO_HOME does not exist! Accumulo imports will fail."
    #  echo 'Please set $ACCUMULO_HOME to the root of your Accumulo installation.'
    #fi
    
    

    版權聲明:本站所有文章,如無特殊說明,均為本站原創。全部下載資源版權歸原作者所有。任何個人或組織,若未征得本站同意,禁止復制、盜用、采集、發布本站內容到任何網站、書籍等各類媒體平臺。若需轉載請注明文章來源。
    本文鏈接:解決Sqoop運行Warning: /usr/sqoop/sqoop-1.4.7/../accumulo does not exist
    喜歡 (1)
    請潘老師喝杯Coffee吧!】
    分享 (0)
    用戶頭像
    發表我的評論
    取消評論
    表情 貼圖 簽到 代碼

    Hi,您需要填寫昵稱和郵箱!

    • 昵稱【必填】
    • 郵箱【必填】
    • 網址【可選】

    您也可以 微信登錄 來發表評論!

    韩国毛茸茸的丰满妇女