[ 
https://issues.apache.org/jira/browse/PIO-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15893078#comment-15893078
 ] 

ASF GitHub Bot commented on PIO-49:
-----------------------------------

Github user marevol commented on the issue:

    https://github.com/apache/incubator-predictionio/pull/352
  
    For integration tests of ES5, 3 tests are failed on 
[move-storages-es5]...(https://github.com/marevol/incubator-predictionio/tree/move-storages-es5)
    I'll check them today.
    
    ```
    ======================================================================
    ERROR [0.555s]: runTest (pio_tests.scenarios.quickstart_test.QuickStartTest)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "//PredictionIO/tests/pio_tests/scenarios/quickstart_test.py", line 
67, in setUp
        .format(self.training_data_path))
      File "/PredictionIO/tests/pio_tests/utils.py", line 33, in srun
        stderr=globals.std_err(), check=True)
      File "/usr/lib/python3.5/subprocess.py", line 708, in run
        output=stdout, stderr=stderr)
    subprocess.CalledProcessError: Command 'curl 
https://raw.githubusercontent.com/apache/spark/master/data/mllib/sample_movielens_data.txt
 --create-dirs -o 
/PredictionIO/tests/pio_tests/data/quickstart_test/training_data.txt' returned 
non-zero exit status 6
    
    ======================================================================
    ERROR [510.444s]: runTest 
(pio_tests.scenarios.eventserver_test.EventserverTest)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "//PredictionIO/tests/pio_tests/scenarios/eventserver_test.py", line 
96, in runTest
        self.load_events("signup_events_51.json"))
      File "/PredictionIO/tests/pio_tests/utils.py", line 316, in 
import_events_batch
        return import_events_batch(events, self.test_context, self.id)
      File "/PredictionIO/tests/pio_tests/utils.py", line 157, in 
import_events_batch
        '--channel {}'.format(channel) if channel else ''))
      File "/PredictionIO/tests/pio_tests/utils.py", line 33, in srun
        stderr=globals.std_err(), check=True)
      File "/usr/lib/python3.5/subprocess.py", line 708, in run
        output=stdout, stderr=stderr)
    subprocess.CalledProcessError: Command 'pio import --appid 1 --input 
/PredictionIO/tests/pio_tests/data/events.json.tmp ' returned non-zero exit 
status 1
    
    ======================================================================
    ERROR [116.174s]: runTest 
(pio_tests.scenarios.basic_app_usecases.BasicAppUsecases)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "//PredictionIO/tests/pio_tests/scenarios/basic_app_usecases.py", 
line 80, in runTest
        self.check_data()
      File "//PredictionIO/tests/pio_tests/scenarios/basic_app_usecases.py", 
line 110, in check_data
        self.assertEqual(len(buy_events) + len(rate_events), len(r.json()))
    AssertionError: 40 != 39
    
    ----------------------------------------------------------------------
    Ran 3 tests in 627.175s
    ```
    
    > use ES5 as default
    
    This PR puts ES1 jar file to lib/spark/ and ES5 jar to extra/ in 
PredictionIO-*.tar.gz.
    It meant that it's replaced with ES5 jar in lib/spark/.



> Add support for Elasticsearch 5.x
> ---------------------------------
>
>                 Key: PIO-49
>                 URL: https://issues.apache.org/jira/browse/PIO-49
>             Project: PredictionIO
>          Issue Type: Improvement
>            Reporter: Shinsuke Sugaya
>
> We work on meta/event storage support for Elasticsearch 5.x.
> Although Elasticsearch 2.x does not allow dots in field names,
> Elasticsearch 5.x supports it. So, it's better to upgrade to ES 5.x release.
> Since ES 5.x provides Java Rest API client, we replaced
> Transport communication with HTTP one. Therefore, our fix
> uses HTTP(9200 port) only.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to