Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7812

Error running OffRC on Azure because of incorrect parsing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.8
    • 1.10.0, 1.9.9
    • oak-run, segment-azure
    • None

    Description

      Full stacktrace:

      Exception in thread "main" java.util.NoSuchElementException: An error occurred while enumerating the result, check the original exception for details.
      	at com.microsoft.azure.storage.core.LazySegmentedIterator.hasNext(LazySegmentedIterator.java:113)
      	at java.util.Iterator.forEachRemaining(Iterator.java:115)
      	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
      	at org.apache.jackrabbit.oak.segment.azure.AzureArchiveManager.listArchives(AzureArchiveManager.java:81)
      	at org.apache.jackrabbit.oak.segment.azure.tool.AzureCompact.run(AzureCompact.java:168)
      	at org.apache.jackrabbit.oak.run.CompactCommand.execute(CompactCommand.java:74)
      	at org.apache.jackrabbit.oak.run.Main.main(Main.java:49)
      Caused by: com.microsoft.azure.storage.StorageException: unknown protocol: ps
      	at com.microsoft.azure.storage.core.ExecutionEngine.setupStorageRequest(ExecutionEngine.java:331)
      	at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:95)
      	at com.microsoft.azure.storage.core.LazySegmentedIterator.hasNext(LazySegmentedIterator.java:109)
      	... 11 more
      Caused by: java.net.MalformedURLException: unknown protocol: ps
      	at java.net.URL.<init>(URL.java:600)
      	at java.net.URL.<init>(URL.java:490)
      	at java.net.URL.<init>(URL.java:439)
      	at java.net.URI.toURL(URI.java:1089)
      	at com.microsoft.azure.storage.core.BaseRequest.createURLConnection(BaseRequest.java:171)
      	at com.microsoft.azure.storage.blob.BlobRequest.createURLConnection(BlobRequest.java:322)
      	at com.microsoft.azure.storage.blob.BlobRequest.listBlobs(BlobRequest.java:1069)
      	at com.microsoft.azure.storage.blob.CloudBlobContainer$7.buildRequest(CloudBlobContainer.java:1449)
      	at com.microsoft.azure.storage.blob.CloudBlobContainer$7.buildRequest(CloudBlobContainer.java:1437)
      	at com.microsoft.azure.storage.core.ExecutionEngine.setupStorageRequest(ExecutionEngine.java:303)
      	... 13 more
      

      Attachments

        Activity

          People

            adulceanu Andrei Dulceanu
            adulceanu Andrei Dulceanu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: