You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to connect to s3 with the specified parameters but it is giving us below errors.
The file properties doesn't exist java.lang.NullPointerException: inStream parameter is null
java.lang.NullPointerException: inStream parameter is null
at java.base/java.util.Objects.requireNonNull(Objects.java:246)
at java.base/java.util.Properties.load(Properties.java:406)
at site.ycsb.db.S3Client.init(S3Client.java:164)
at site.ycsb.DBWrapper.init(DBWrapper.java:90)
at site.ycsb.ClientThread.run(ClientThread.java:91)
at java.base/java.lang.Thread.run(Thread.java:829)
Inizializing the S3 connection
Could not connect to S3 storage: java.lang.IllegalArgumentException: Access key cannot be null.
java.lang.IllegalArgumentException: Access key cannot be null.
at com.amazonaws.auth.BasicAWSCredentials.(BasicAWSCredentials.java:37)
at site.ycsb.db.S3Client.init(S3Client.java:213)
at site.ycsb.DBWrapper.init(DBWrapper.java:90)
at site.ycsb.ClientThread.run(ClientThread.java:91)
at java.base/java.lang.Thread.run(Thread.java:829)
site.ycsb.DBException: java.lang.IllegalArgumentException: Access key cannot be null.
at site.ycsb.db.S3Client.init(S3Client.java:231)
at site.ycsb.DBWrapper.init(DBWrapper.java:90)
at site.ycsb.ClientThread.run(ClientThread.java:91)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalArgumentException: Access key cannot be null.
at com.amazonaws.auth.BasicAWSCredentials.(BasicAWSCredentials.java:37)
at site.ycsb.db.S3Client.init(S3Client.java:213)
... 3 more
site.ycsb.DBException: java.lang.IllegalArgumentException: Access key cannot be null.
at site.ycsb.db.S3Client.init(S3Client.java:231)
at site.ycsb.DBWrapper.init(DBWrapper.java:90)
at site.ycsb.ClientThread.run(ClientThread.java:91)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalArgumentException: Access key cannot be null.
at com.amazonaws.auth.BasicAWSCredentials.(BasicAWSCredentials.java:37)
at site.ycsb.db.S3Client.init(S3Client.java:213)
I am trying to connect to s3 with the specified parameters but it is giving us below errors.
The file properties doesn't exist java.lang.NullPointerException: inStream parameter is null
java.lang.NullPointerException: inStream parameter is null
at java.base/java.util.Objects.requireNonNull(Objects.java:246)
at java.base/java.util.Properties.load(Properties.java:406)
at site.ycsb.db.S3Client.init(S3Client.java:164)
at site.ycsb.DBWrapper.init(DBWrapper.java:90)
at site.ycsb.ClientThread.run(ClientThread.java:91)
at java.base/java.lang.Thread.run(Thread.java:829)
Inizializing the S3 connection
Could not connect to S3 storage: java.lang.IllegalArgumentException: Access key cannot be null.
java.lang.IllegalArgumentException: Access key cannot be null.
at com.amazonaws.auth.BasicAWSCredentials.(BasicAWSCredentials.java:37)
at site.ycsb.db.S3Client.init(S3Client.java:213)
at site.ycsb.DBWrapper.init(DBWrapper.java:90)
at site.ycsb.ClientThread.run(ClientThread.java:91)
at java.base/java.lang.Thread.run(Thread.java:829)
site.ycsb.DBException: java.lang.IllegalArgumentException: Access key cannot be null.
at site.ycsb.db.S3Client.init(S3Client.java:231)
at site.ycsb.DBWrapper.init(DBWrapper.java:90)
at site.ycsb.ClientThread.run(ClientThread.java:91)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalArgumentException: Access key cannot be null.
at com.amazonaws.auth.BasicAWSCredentials.(BasicAWSCredentials.java:37)
at site.ycsb.db.S3Client.init(S3Client.java:213)
... 3 more
site.ycsb.DBException: java.lang.IllegalArgumentException: Access key cannot be null.
at site.ycsb.db.S3Client.init(S3Client.java:231)
at site.ycsb.DBWrapper.init(DBWrapper.java:90)
at site.ycsb.ClientThread.run(ClientThread.java:91)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalArgumentException: Access key cannot be null.
at com.amazonaws.auth.BasicAWSCredentials.(BasicAWSCredentials.java:37)
at site.ycsb.db.S3Client.init(S3Client.java:213)
I am using below command to load the data
./bin/ycsb load s3 -p table=Bucket_name -p s3.region=region_name -p s3.endPoint=s3.amazonaws.com -p s3.accessKeyId=access_key -p s3.secretKey=secrete_key -p fieldlength=10 -p fieldcount=20 -P workloads/workloada
I did below installations
sudo apt update
sudo apt -y upgrade
sudo apt install python-minimal
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
sudo apt install default-jdk
sudo apt install maven
sudo vim /etc/profile.d/maven.sh
copied -
export JAVA_HOME=/usr/lib/jvm/default-java
export M2_HOME=/opt/maven
export MAVEN_HOME=/opt/maven
export PATH=${M2_HOME}/bin:${PATH}
sudo chmod +x /etc/profile.d/maven.sh
source /etc/profile.d/maven.sh
System specification
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
The text was updated successfully, but these errors were encountered: