FAQ
Hello,

I try to importing data using HUE web UI on CDH 4. I have this error when
import it.
=======================================
Driver returned: 1. Errors: OK
Hive history file=/tmp/hue/hive_job_log_hue_201304010244_869801882.txt
Loading data to table default.tweets partition (datehour=2013032716)
Failed with exception copyFiles: error while checking/creating destination
directory!!!
FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.MoveTask
=======================================

I confirm that warehouse directory is created on /user/hive directory. Can
anyone help me please?

Thank You

Search Discussions

  • Serega Sheypak at Apr 1, 2013 at 10:37 am
    Are u sure that execution user does have privileges to dest dir?
    01.04.2013 14:06 пользователь "Hendra Budiawan" <
    hendra.budiawan.01@gmail.com> написал:
    Hello,

    I try to importing data using HUE web UI on CDH 4. I have this error when
    import it.
    ==============================**=========
    Driver returned: 1. Errors: OK
    Hive history file=/tmp/hue/hive_job_log_**hue_201304010244_869801882.txt
    Loading data to table default.tweets partition (datehour=2013032716)
    Failed with exception copyFiles: error while checking/creating destination
    directory!!!
    FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.**
    exec.MoveTask
    ==============================**=========

    I confirm that warehouse directory is created on /user/hive directory. Can
    anyone help me please?

    Thank You
  • Hendra Budiawan at Apr 1, 2013 at 10:49 am
    Yes i'm sure user privileges it's have to set to destination folder, but
    still not works. Any clue for this?

    On Mon, Apr 1, 2013 at 5:37 PM, Serega Sheypak wrote:

    Are u sure that execution user does have privileges to dest dir?
    01.04.2013 14:06 пользователь "Hendra Budiawan" <
    hendra.budiawan.01@gmail.com> написал:

    Hello,
    I try to importing data using HUE web UI on CDH 4. I have this error when
    import it.
    ==============================**=========
    Driver returned: 1. Errors: OK
    Hive history file=/tmp/hue/hive_job_log_**hue_201304010244_869801882.txt
    Loading data to table default.tweets partition (datehour=2013032716)
    Failed with exception copyFiles: error while checking/creating
    destination directory!!!
    FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.**
    exec.MoveTask
    ==============================**=========

    I confirm that warehouse directory is created on /user/hive directory.
    Can anyone help me please?

    Thank You
  • Darren Lo at Apr 1, 2013 at 3:15 pm
    Hi Hendra,

    Please make sure the following permissions are set:
    User logged in to Hue has write permissions in hdfs for /user/<hueuser>
    Hive user has write permissions in hdfs for /user/hive
    Both above users have write permissions to your hive warehouse directory
    and the target database (if not using default database). You can look up
    the Hive warehouse directory in Hive service for CM 4.5+, or in Hue service
    configuration for 4.1 and earlier.

    It may also help to look in the role logs for hdfs and mapreduce for any
    relevant errors (may help you figure out exactly what the destination
    directory is). The /tmp/hue/hive_job_log... you mentioned above may also
    have interesting errors.

    Thanks,
    Darren

    On Mon, Apr 1, 2013 at 3:48 AM, Hendra Budiawan wrote:

    Yes i'm sure user privileges it's have to set to destination folder, but
    still not works. Any clue for this?

    On Mon, Apr 1, 2013 at 5:37 PM, Serega Sheypak wrote:

    Are u sure that execution user does have privileges to dest dir?
    01.04.2013 14:06 пользователь "Hendra Budiawan" <
    hendra.budiawan.01@gmail.com> написал:

    Hello,
    I try to importing data using HUE web UI on CDH 4. I have this error
    when import it.
    ==============================**=========
    Driver returned: 1. Errors: OK
    Hive history file=/tmp/hue/hive_job_log_**hue_201304010244_869801882.txt
    Loading data to table default.tweets partition (datehour=2013032716)
    Failed with exception copyFiles: error while checking/creating
    destination directory!!!
    FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.**
    exec.MoveTask
    ==============================**=========

    I confirm that warehouse directory is created on /user/hive directory.
    Can anyone help me please?

    Thank You

    --
    Thanks,
    Darren

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedApr 1, '13 at 10:06a
activeApr 1, '13 at 3:15p
posts4
users3
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase