[GitHub] carbondata pull request #2292: [CARBONDATA-2467] sdk writer log shouldnot pr...

classic Classic list List threaded Threaded
29 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #2292: [CARBONDATA-2467] sdk writer log shouldnot pr...

qiuchenjian-2
GitHub user rahulforallp opened a pull request:

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

    [CARBONDATA-2467] sdk writer log shouldnot print null

    **issue :** Logger prints the threadname along with log. In case of sdk writer we are assigning null for dbname and table name and table name is used to assign the thread name in CarbonTableOutputFormat and DataWriterProcessStepImpl. which leads to add null in many logs.
   
    **Solution :**  assign empty string instead of null
   
   
     - [ ] Any interfaces changed? NO
     
     - [ ] Any backward compatibility impacted? NO
     
     - [ ] Document update required? No
   
     - [ ] Testing done UT and sdv success report is sufficient
           
     - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.  NA
   


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

    $ git pull https://github.com/rahulforallp/incubator-carbondata CARBONDATA-2467

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

    https://github.com/apache/carbondata/pull/2292.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 #2292
   
----
commit 71f658a8ae5c7ff924f10205b036490f0bccf943
Author: rahulforallp <rahul.kumar@...>
Date:   2018-05-10T09:07:44Z

    [CARBONDATA-2467] sdk writer log shouldnot print null

----


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #2292: [CARBONDATA-2467] sdk writer log shouldnot pr...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2292#discussion_r187779656
 
    --- Diff: store/sdk/src/main/java/org/apache/carbondata/sdk/file/CarbonWriterBuilder.java ---
    @@ -413,8 +413,8 @@ private CarbonTable buildCarbonTable() {
           tableName = "_tempTable";
           dbName = "_tempDB";
         } else {
    -      dbName = null;
    -      tableName = null;
    +      dbName = "";
    +      tableName = String.valueOf(UUID);
    --- End diff --
   
    I think it is better to put `"_tempTable_" + String.valueOf(UUID)`


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #2292: [CARBONDATA-2467] sdk writer log shouldnot pr...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user rahulforallp commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2292#discussion_r187847932
 
    --- Diff: store/sdk/src/main/java/org/apache/carbondata/sdk/file/CarbonWriterBuilder.java ---
    @@ -413,8 +413,8 @@ private CarbonTable buildCarbonTable() {
           tableName = "_tempTable";
           dbName = "_tempDB";
         } else {
    -      dbName = null;
    -      tableName = null;
    +      dbName = "";
    +      tableName = String.valueOf(UUID);
    --- End diff --
   
    done


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/2292
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/4927/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #2292: [CARBONDATA-2467] sdk writer log shouldnot print nul...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
12