Hi all, I am trying to deploy pinot on k8s with Az...
# troubleshooting
s
Hi all, I am trying to deploy pinot on k8s with Azure ADLS as deep storage. However, my server and controller pods are failing with the following error:
Copy code
2025/02/14 04:55:45.846 ERROR [RequestRetryPolicy] [main] 'base64Key' was not a valid Base64 scheme. Ensure the Storage account key or SAS key is properly formatted.
2025/02/14 04:55:45.848 ERROR [PinotFSFactory] [main] Could not instantiate file system for class org.apache.pinot.plugin.filesystem.ADLSGen2PinotFS with scheme adl
java.lang.IllegalArgumentException: Illegal base64 character 27
        at java.base/java.util.Base64$Decoder.decode0(Base64.java:746) ~[?:?]
        at java.base/java.util.Base64$Decoder.decode(Base64.java:538) ~[?:?]
        at java.base/java.util.Base64$Decoder.decode(Base64.java:561) ~[?:?]
        at com.azure.storage.common.implementation.StorageImplUtils.computeHMac256(StorageImplUtils.java:204) ~[pinot-adls-1.4.0-SNAPSHOT-shaded.jar:1.4.0-SNAPSHOT-a29ecd7c27020a3ce598cfe3bc56f9c3016adb3a]
        at com.azure.storage.common.StorageSharedKeyCredential.generateAuthorizationHeader(StorageSharedKeyCredential.java:166) ~[pinot-adls-1.4.0-SNAPSHOT-shaded.jar:1.4.0-SNAPSHOT-a29ecd7c27020a3ce598cfe3bc56f9c3016adb3a]
        at com.azure.storage.common.policy.StorageSharedKeyCredentialPolicy.setAuthorizationHeader(StorageSharedKeyCredentialPolicy.java:52) ~[pinot-adls-1.4.0-SNAPSHOT-shaded.jar:1.4.0-SNAPSHOT-a29ecd7c27020a3ce598cfe3bc56f9c3016adb3a]
Below are the properties: pinot-controller.conf file
Copy code
pinot.controller.storage.factory.class.adl2=org.apache.pinot.plugin.filesystem.ADLSGen2PinotFS
      pinot.controller.storage.factory.adl2.accountName=Storage account name
      pinot.controller.storage.factory.adl2.accessKey='access key'
      pinot.controller.storage.factory.adl2.fileSystemName=container name
      pinot.controller.segment.fetcher.protocols=file,http,adl2
      pinot.controller.segment.fetcher.adl2.class=org.apache.pinot.common.utils.fetcher.PinotFSSegmentFetcher
      pinot.controller.enable.split.commit=true
      pinot.set.instance.id.to.hostname=true
      controller.task.scheduler.enabled=true
pinot-server.conf file
Copy code
pinot.server.storage.factory.class.adl2=org.apache.pinot.plugin.filesystem.ADLSGen2PinotFS
      pinot.server.storage.factory.adl2.accountName=Storage account name
      pinot.server.storage.factory.adl2.accessKey='access key'
      pinot.server.storage.factory.adl2.fileSystemName=container name
      pinot.server.segment.fetcher.protocols=file,http,adl2
      pinot.server.segment.fetcher.adl2.class=org.apache.pinot.common.utils.fetcher.PinotFSSegmentFetcher
      pinot.server.enable.split.commit=true
      pinot.server.segment.pushFrequency=1m
      pinot.set.instance.id.to.hostname=true
      pinot.server.instance.realtime.alloc.offheap=true
pinot.query.server.port=7321
pinot.query.runner.port=7732
Please help here.
a
It looks like key format issue - Most likely with/without quotes maybe.
s
@Anand Kr Shaw You are right. It was a miss from my end. The issue is fixed now. Thanks :)