GitHub user Zhangshunyu opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/81

    [CARBONDATA-132] Parse some Spark exception from executor side and show 
them directly on driver. 

    ## Why raise this pr:
    For example, when data load is failed because of wrong csv file header in 
load DDL, the exception message only shows in executor side like "CSV header 
provided in DDL is not proper. Column names in schema and CSV header are not 
the same" but the user using beeline can not get it from driver side because 
dirver only shows "Dataload Faluire" , it is very inconvenient for user to get 
the reason unless he check the executor log info.
    
    ## How to solve:
    Get the SparkException on driver side and parse the cause, when it is 
DataLoadingException, we can show the DataLoadingException message to driver. 
Show DataLoadingException is because that it is mainly about CSV file and 
wrapped in understandable message which can be shown to the user.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Zhangshunyu/incubator-carbondata exc

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/81.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #81
    
----
commit d6c32cb6ea80ccfe9f7aee1e14236d90933fce1a
Author: Zhangshunyu <zhangshu...@huawei.com>
Date:   2016-08-22T02:08:26Z

    Parse some Spark exception from executor side and show them directly on 
driver

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to