Comments (2)
Hi @salamehsameera,
I will try this out on my windows machine later today, but could you try changing the paths to start with D:/
instead of /d/
(assuming D is the drive name)? Also, you may want to try removing the drive specifier (e.g. /users/sameeras/ambry2/config/log4j.properties
instead)
from ambry.
Thanks @cgtz, I tried both and it did not work out unfortunately, here's the log output:
1.
sameeras@LT-260-PTH-6124 MINGW64 ~/ambry2/target (master)
$ nohup java -Dlog4j.configuration=file:D:/users/sameeras/ambry2/config/log4j.properties -jar ambry.jar --serverPropsFilePath D:/users/sameeras/ambry2/config/server.properties --hardwareLayoutFilePath D:/users/sameeras/ambry2/config/HardwareLayout.json --partitionLayoutFilePath D:/users/sameeras/ambry2/config/PartitionLayout.json > logs/server.log &
[1] 1425
nohup: ignoring input and redirecting stderr to stdoutsameeras@LT-260-PTH-6124 MINGW64 ~/ambry2/target (master)
$ cat logs/server.log
[2021-03-18 21:20:05,280] ERROR Exception during bootstrap of AmbryServer (com.github.ambry.server.AmbryMain)
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.github.ambry.utils.Utils.getObj(Utils.java:662)
at com.github.ambry.server.AmbryMain.main(AmbryMain.java:45)
Caused by: java.lang.IllegalStateException: Mount path has to be an absolute path.
at com.github.ambry.clustermap.Disk.validateMountPath(Disk.java:128)
at com.github.ambry.clustermap.Disk.validate(Disk.java:135)
at com.github.ambry.clustermap.Disk.(Disk.java:58)
at com.github.ambry.clustermap.DataNode.(DataNode.java:78)
at com.github.ambry.clustermap.Datacenter.(Datacenter.java:53)
at com.github.ambry.clustermap.HardwareLayout.(HardwareLayout.java:58)
at com.github.ambry.clustermap.StaticClusterAgentsFactory.(StaticClusterAgentsFactory.java:58)
... 6 more
[2021-03-18 21:20:05,285] INFO Exiting AmbryMain (com.github.ambry.server.AmbryMain)
[1]+ Exit 1 nohup java -Dlog4j.configuration=file:D:/users/sameeras/ambry2/config/log4j.properties -jar ambry.jar --serverPropsFilePath D:/users/sameeras/ambry2/config/server.properties --hardwareLayoutFilePath D:/users/sameeras/ambry2/config/HardwareLayout.json --partitionLayoutFilePath D:/users/sameeras/ambry2/config/PartitionLayout.json > logs/server.log
sameeras@LT-260-PTH-6124 MINGW64 ~/ambry2/target (master)
$ nohup java -Dlog4j.configuration=file:/users/sameeras/ambry2/config/log4j.properties -jar ambry.jar --serverPropsFilePath /users/sameeras/ambry2/config/server.properties --hardwareLayoutFilePath /users/sameeras/ambry2/config/HardwareLayout.json --partitionLayoutFilePath /users/sameeras/ambry2/config/PartitionLayout.json > logs/server.log &
[1] 1443
nohup: ignoring input and redirecting stderr to stdoutsameeras@LT-260-PTH-6124 MINGW64 ~/ambry2/target (master)
$ cat logs/server.log
[2021-03-18 21:21:17,432] ERROR Exception during bootstrap of AmbryServer (com.github.ambry.server.AmbryMain)
java.io.FileNotFoundException: C:\Program Files\Git\users\sameeras\ambry2\config\server.properties (The system cannot find the path specified)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(Unknown Source)
at java.base/java.io.FileInputStream.(Unknown Source)
at java.base/java.io.FileInputStream.(Unknown Source)
at com.github.ambry.utils.Utils.loadProps(Utils.java:782)
at com.github.ambry.server.AmbryMain.main(AmbryMain.java:40)
[2021-03-18 21:21:17,434] INFO Exiting AmbryMain (com.github.ambry.server.AmbryMain)
[1]+ Exit 1 nohup java -Dlog4j.configuration=file:/users/sameeras/ambry2/config/log4j.properties -jar ambry.jar --serverPropsFilePath /users/sameeras/ambry2/config/server.properties --hardwareLayoutFilePath /users/sameeras/ambry2/config/HardwareLayout.json --partitionLayoutFilePath /users/sameeras/ambry2/config/PartitionLayout.json > logs/server.log
from ambry.
Related Issues (20)
- service migrate HOT 1
- Cleanup ReplicationEngine:createThreadPool to avoid hardcoding Vcr
- Test failure: com.github.ambry.server.ServerSSLTest > undeleteCornerCasesTest
- Test failures in com.github.ambry.router.UndeleteManagerTest HOT 1
- Test failure: com.github.ambry.store.BlobStoreCompactorTest > deleteTombstoneCleanupTest
- UserQuotaRequestCostPolicy test coverage gaps
- Cannot post images from the quick start instruction
- Test failure: RouterServerSSLTest.interleavedOperationsTest
- Test failure: com.github.ambry.router.CloudRouterTest > testStitchGetUpdateDelete HOT 1
- Test failure: com.github.ambry.server.ServerSSLTest > undeleteCornerCasesTest HOT 1
- Test failure: com.github.ambry.frontend.FrontendIntegrationTest > accountApiTest[18]
- Test failure: com.github.ambry.server.ServerPlaintextTokenTest > endToEndReplicationWithMultiNodeSinglePartitionTest
- Error when run build
- Build failure because package azure-storage-blob:12.2.0 is not available on the Maven repository HOT 1
- Caused by: java.lang.NoSuchMethodException: com.github.ambry.cloud.HelixVcrClusterAgentsFactory.<init>() HOT 4
- Caffeine error while doing build HOT 1
- [QA] Ambry's future plan
- `PUT` should support `Content-MD5` header
- Ambry compaction and uploading very large files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ambry.