When we remove the T2 from the T4 query it runs without .cli.HiveSQLException: Error while compiling statement: FAILED: ConcurrentModificationException null T4 fails with a Error while compiling statement: FAILED: ConcurrentModificationException null error. It is showing error something like : 11:13:24.405 ERROR - error while importing Sesame data: ![]() If(RepTypeObject.stringValue()!=ConsumableTypeObject.stringValue())ĪddStatementsInRepository(uri.stringValue(),c_import) If( !(RepTypeObject.stringValue().equals(OWL.DATATYPEPROPERTY) || ConsumableTypeObject.stringValue().equals(OWL.OBJECTPROPERTY) || RepTypeObject.stringValue().equals(RDF.PROPERTY) || ConsumableTypeObject.stringValue().equals(OWL.CLASS) || ConsumableTypeObject.stringValue().equals(RDFS.CLASS)) ) If (ConsumableTypeObject.stringValue().equals(OWL.CLASS) || ConsumableTypeObject.stringValue().equals(RDFS.CLASS)) RepStatementsAsHash.get(uri).remove(RepTypeObject) Įlse if(RepTypeObject.stringValue().equals(OWL.DATATYPEPROPERTY) || ConsumableTypeObject.stringValue().equals(OWL.OBJECTPROPERTY) || RepTypeObject.stringValue().equals(RDF.PROPERTY)) If(ConsumableTypeObject.stringValue().equals(OWL.DATATYPEPROPERTY) || ConsumableTypeObject.stringValue().equals(OWL.OBJECTPROPERTY) || ConsumableTypeObject.stringValue().equals(RDF.PROPERTY)) If (RepTypeObject.stringValue().equals(OWL.CLASS) || RepTypeObject.stringValue().equals(RDFS.CLASS)) Value ConsumableTypeObject=CStatements.get(uri).get(RDF.TYPE) Value RepTypeObject=RepStatementsAsHash.get(uri).get(RDF.TYPE) ![]() RepStatementsAsHash.get(uri).remove(RDFS.RANGE) Įlse if(RepStatementsAsHash.get(uri).containsKey(RDF.TYPE)) RepStatementsAsHash.get(uri).remove(RDFS.SUBCLASSOF) Įlse if(RepStatementsAsHash.get(uri).containsKey(RDFS.RANGE)) RepStatementsAsHash.get(uri).remove(RDFS.LABEL) Įlse if(RepStatementsAsHash.get(uri).containsKey(RDFS.SUBCLASSOF)) If(RepStatementsAsHash.get(uri).containsKey(RDFS.LABEL)) I googled it and also know that such error comes only when you try to modify on-going iterative variable, which I don't feel in my case.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |