HI ,

I am loading a model with around 20 million records using JAVA code, I get the 
following exception 

RetryExec:97 - I/O exception (java.net.SocketException) caught when processing 
request to {s}->https://10.176.48.162:8447: Connection reset by peer: socket 
write error


when I check the JENA log I see the following 

2021-02-07 19:43:19,417 INFO  https-openssl-nio-8447-exec-2 customLogger:14 - 
127.0.0.1 [07/Feb/2021:19:43:19 +0530] "POST /fuseki/dip_backup/data" 401 -
2021-02-07 19:43:20,461 INFO  https-openssl-nio-8447-exec-7 customLogger:14 - 
127.0.0.1 [07/Feb/2021:19:43:20 +0530] "POST /fuseki/dip_backup/data" 401 -
2021-02-07 19:43:21,498 INFO  https-openssl-nio-8447-exec-10 customLogger:14 - 
127.0.0.1 [07/Feb/2021:19:43:21 +0530] "POST /fuseki/dip_backup/data" 401 -
2021-02-07 19:43:22,547 INFO  https-openssl-nio-8447-exec-9 customLogger:14 - 
127.0.0.1 [07/Feb/2021:19:43:22 +0530] "POST /fuseki/dip_backup/data" 401 -

Code:
                RDFConnectionRemoteBuilder builder = 
getRDFConnectionFusekiBuilderForLoadingInfModel();
                try (RDFConnectionFuseki conn = 
(RDFConnectionFuseki)builder.build();
                                InputStream in = new 
FileInputStream(file.getPath());) {
                        // add data from given file
                        Model model = ModelFactory.createOntologyModel();
                        RDFDataMgr.read(model, in, Lang.TRIG);
                        conn.load(model);                       
                        logger.info("loaded bufoon");
                } catch (HttpException e) {
                        handleJenaHttpException(e);
                } catch (IOException e1) {
                        logger.info("Unable to backup due to: " + e1);
                }               


Can someone please help me fix this issue?

Thanks,
Sushanth




Reply via email to