Subhashini
02/13/2025, 10:54 AM2025/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
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
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=7732Subhashini
02/13/2025, 11:30 AMAnand Kr Shaw
02/14/2025, 5:23 AMSubhashini
02/18/2025, 5:52 AM