Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4843

Search command in elasticsearch interpreter of zeppelin does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.9.0
    • 0.9.1, 0.10.0
    • zeppelin-interpreter
    • None

    Description

      Zeppelin Version 0.9.0-preview1

      Elasticsearch version 7.7.0

      Trying to use elasticsearch in Zeppelin notebook. Index, Get or Delete command successful, but Search and Count command results with error.

       

      Insert a document in Elasticsearch with index command, then try to search:

      Notebook command:

       search / { "query": { "match_all": { } } }

      Result message:

       > Error : JSONObject["total"] is not a long.

       

      Same error for Count command.

      Postman  search/count request successful.

       

      Screenshot in attach

       

       

       

      Attachments

        Activity

          People

            smiklosovic Stefan Miklosovic
            Morozov Anton Morozov Anton
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 10m
                2h 10m