You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by anubhav100 <gi...@git.apache.org> on 2018/03/21 07:50:01 UTC

[GitHub] carbondata pull request #2085: [CARBONDATA-2266] Fixed All Examples are thro...

GitHub user anubhav100 opened a pull request:

    https://github.com/apache/carbondata/pull/2085

    [CARBONDATA-2266] Fixed All Examples are throwing Exception in current master branch

    Fixed All Examples are throwing Exception in current master branch
    
    **Problem**: Running all examples are showing same exception
    
     Exception in thread "main" java.util.NoSuchElementException: spark.carbon.common.listener.register.classname
    
    Solution: initialise the property CARBON_COMMON_LISTENER_REGISTER_CLASSNAME with empty value when creating carbon session within its  config object
    
    Be sure to do all of the following checklist to help us incorporate 
    your contribution quickly and easily:
    
     - [ ] Any interfaces changed?
     
     - [ ] Any backward compatibility impacted?
     
     - [ ] Document update required?
    
     - [ ] Testing done
            Please provide details on 
            - Whether new unit test cases have been added or why no new tests are required?
            - How it is tested? Please attach test report.
            - Is it a performance related change? Please attach the performance test report.
            - Any additional information to help reviewers in testing this change.
           
     - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. 
    


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

    $ git pull https://github.com/anubhav100/incubator-carbondata CARBONDATA-2266

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

    https://github.com/apache/carbondata/pull/2085.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 #2085
    
----
commit 3664583ef20166a1070f16cc1a4fa0f2ae02324e
Author: anubhav100 <an...@...>
Date:   2018-03-21T07:43:48Z

    Fixed All Examples are throwing NoSuchElement Exception in current master branch

----


---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    Build Failed with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/3247/



---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/4474/



---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by chenliang613 <gi...@git.apache.org>.
Github user chenliang613 commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    LGTM


---

[GitHub] carbondata pull request #2085: [CARBONDATA-2266] Fixed All Examples are thro...

Posted by dhatchayani <gi...@git.apache.org>.
Github user dhatchayani commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2085#discussion_r176013572
  
    --- Diff: examples/spark2/src/main/scala/org/apache/carbondata/examples/ExampleUtils.scala ---
    @@ -56,6 +56,7 @@ object ExampleUtils {
           .master(masterUrl)
           .appName(appName)
           .config("spark.sql.warehouse.dir", warehouse)
    +      .config(CarbonCommonConstants.CARBON_COMMON_LISTENER_REGISTER_CLASSNAME, "")
    --- End diff --
    
    instead of adding it to all the example classes add a try catch in
    org.apache.spark.sql.CarbonEnv#registerCommonListener to get the clsName
    if exception thrown, make it as null or empty


---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by chenliang613 <gi...@git.apache.org>.
Github user chenliang613 commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    retest this please


---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by ravipesala <gi...@git.apache.org>.
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/3993/



---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/4478/



---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by anubhav100 <gi...@git.apache.org>.
Github user anubhav100 commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    retest this please


---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/3244/



---

[GitHub] carbondata pull request #2085: [CARBONDATA-2266] Fixed All Examples are thro...

Posted by anubhav100 <gi...@git.apache.org>.
Github user anubhav100 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2085#discussion_r176024849
  
    --- Diff: examples/spark2/src/main/scala/org/apache/carbondata/examples/ExampleUtils.scala ---
    @@ -56,6 +56,7 @@ object ExampleUtils {
           .master(masterUrl)
           .appName(appName)
           .config("spark.sql.warehouse.dir", warehouse)
    +      .config(CarbonCommonConstants.CARBON_COMMON_LISTENER_REGISTER_CLASSNAME, "")
    --- End diff --
    
    @dhatchayani please review


---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by ravipesala <gi...@git.apache.org>.
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/3994/



---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    Build Failed with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/3242/



---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/3251/



---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/4476/



---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/4481/



---

[GitHub] carbondata pull request #2085: [CARBONDATA-2266] Fixed All Examples are thro...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/carbondata/pull/2085


---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by ravipesala <gi...@git.apache.org>.
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/3990/



---

[GitHub] carbondata issue #2085: [CARBONDATA-2266] Fixed All Examples are throwing Ex...

Posted by anubhav100 <gi...@git.apache.org>.
Github user anubhav100 commented on the issue:

    https://github.com/apache/carbondata/pull/2085
  
    @manishgupta88  @dhatchayani please review problem come after pr #2031


---