Solr
  1. Solr
  2. SOLR-4112

Dataimporting with SolrCloud Fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 4.1, Trunk
    • Component/s: None
    • Labels:
      None

      Description

      While trying to import data from db on cloud, it shows this in logs:

      SEVERE: Full Import failed:org.apache.solr.handler.dataimport.DataImportHandlerException: Unable to PropertyWriter implementation:ZKPropertiesWriter
      at org.apache.solr.handler.dataimport.DataImporter.createPropertyWriter(DataImporter.java:336)
      at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:418)
      at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:487)
      at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:468)
      Caused by: org.apache.solr.common.cloud.ZooKeeperException: ZkSolrResourceLoader does not support getConfigDir() - likely, what you are trying to do is not supported in ZooKeeper mode
      at org.apache.solr.cloud.ZkSolrResourceLoader.getConfigDir(ZkSolrResourceLoader.java:100)
      at org.apache.solr.handler.dataimport.SimplePropertiesWriter.init(SimplePropertiesWriter.java:91)
      at org.apache.solr.handler.dataimport.ZKPropertiesWriter.init(ZKPropertiesWriter.java:45)
      at org.apache.solr.handler.dataimport.DataImporter.createPropertyWriter(DataImporter.java:334)
      ... 3 more

      Exception in thread "Thread-306" java.lang.NullPointerException
      at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:427)
      at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:487)
      at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:468)

      1. SOLR-4112.patch
        13 kB
        Shalin Shekhar Mangar
      2. SOLR-4112.patch
        3 kB
        James Dyer

        Activity

        Deniz Durmus created issue -
        James Dyer made changes -
        Field Original Value New Value
        Attachment SOLR-4112.patch [ 12554871 ]
        Mark Miller made changes -
        Fix Version/s 4.1 [ 12321141 ]
        Fix Version/s 5.0 [ 12321664 ]
        Mark Miller made changes -
        Assignee James Dyer [ jdyer ]
        Erick Erickson made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        Mark Miller made changes -
        Priority Blocker [ 1 ] Major [ 3 ]
        Erick Erickson made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        Shalin Shekhar Mangar made changes -
        Assignee James Dyer [ jdyer ] Shalin Shekhar Mangar [ shalinmangar ]
        Shalin Shekhar Mangar made changes -
        Attachment SOLR-4112.patch [ 12564406 ]
        Shalin Shekhar Mangar made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Steve Rowe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Deniz Durmus
          • Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development