Github user manishgupta88 commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/81#discussion_r76017047
  
    --- Diff: 
integration/spark/src/main/scala/org/apache/carbondata/spark/rdd/CarbonDataRDDFactory.scala
 ---
    @@ -773,20 +776,27 @@ object CarbonDataRDDFactory extends Logging {
           } catch {
             case ex: Throwable =>
               loadStatus = CarbonCommonConstants.STORE_LOADSTATUS_FAILURE
    -          logInfo("DataLoad failure")
    +          ex match {
    +            case sparkException: SparkException =>
    +              if 
(sparkException.getCause.isInstanceOf[DataLoadingException]) {
    +                executorMessage = sparkException.getCause.getMessage
    +                errorMessage = errorMessage + ": " + executorMessage
    +              }
    +            case _ =>
    --- End diff --
    
    @Zhangshunyu ...for case _ also get the message from throwable and add it 
to error message same as you have done for sparkException case


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to