GitHub user QiangCai opened a pull request:

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

    [CARBONDATA-3021][Streaming] Fix unsupported data type exception for 
streaming

    Background:
    when spark uses Kryo serialization, streaming app throws the exception 
"Unsupported data type".
    Root cause: 
    1.  collect the data type list to driver side from executor side.  
    2.  when using Kryo, datatype single instances are not working.
    Solution:
    don't collect measure data type list from executor side to avoid 
serialization.
    
     - [x] Any interfaces changed?
     no
     - [x] Any backward compatibility impacted?
     no
     - [x] Document update required?
     no
     - [x] 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.
     use old test case to test it.      
     
     - [x] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 
    small


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

    $ git pull https://github.com/QiangCai/carbondata streaming_measure_datatype

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

    https://github.com/apache/carbondata/pull/2832.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 #2832
    
----
commit 36d72749632cb872907476592e8e8126bd298579
Author: QiangCai <qiangcai@...>
Date:   2018-10-18T02:56:13Z

    fix unsupported data type exception for streaming

----


---

Reply via email to