Comments (6)
The bug occurs when passing a relative path to sbin/compress
. For now, you could work around it by passing an absolute path instead.
We'll fix it in the next release. Thanks for reporting it!
from clp.
Hi @kirkrodrigues,
I got another error stating attribute 'inputlist_path' not in the config file.
2021-11-04 14:00:15,761 [INFO] [clp] Using default config file at etc/clp-config.yaml
2021-11-04 18:00:16,127 [INFO] [compress] Compression job submitted to compression-job-handler.
2021-11-04 18:00:16,127 [INFO] [compression-job-handler] compression-job-handler started.
2021-11-04 18:00:16,172 [INFO] [job-16] Iterating and partitioning files into tasks.
2021-11-04 18:00:16,173 [ERROR] [job-16] Exception while processing job-16.
Traceback (most recent call last):
File "/opt/clp/lib/python3/site-packages/compression_job_handler/compression_job_handler.py", line 269, in handle_job
with open(pathlib.Path(clp_io_config.inputlist_path).resolve(), 'r') as f:
AttributeError: 'ClpIoConfig' object has no attribute 'inputlist_path'
2021-11-04 18:00:16,173 [ERROR] [job-16] 'ClpIoConfig' object has no attribute 'inputlist_path'
I assume it is reading the config file at the location /opt/.clp-mini-cluster.yaml in the container. Or is there supposed to be a different config file? Please let me know.
from clp.
Looking at the code, line 269 seems to contain a .
after input
. Whereas the stack-trace doesn't have that .
. Is it possible the code was modified somehow?
If not, could you tell me what operating system you extracted the package on?
from clp.
@kirkrodrigues, No changes have been made in the code after extracting. I used packager on Ubuntu v20.04.3 LTS to build a new package.
from clp.
Hi @BasantaChaulagain , currently, we are unable to reproduce the error you encountered. Can you download the pre-packaged CLP package from this link and perform the compression again?
This package is generated inside a Ubuntu 20.04 docker image. If this package works correctly while the manually generated package has problems, then there may be some environment issue on your side. We can take investigate the environment problem with you. To begin the investigation, please upload the file <package>/lib/python3/site-packages/compression_job_handler/compression_job_handler.py
to this issue.
from clp.
Hi @jackluo923, I tried the pre-built package and it worked. I then manually re-built the package and it worked as well. Perhaps it was due to environment issue on my side. Thanks for your help.
from clp.
Related Issues (20)
- searching with clp-s for json log fields containing words with spaces is not working HOT 1
- clp-s is truncating the json bytes while compression HOT 4
- clp-s: Incorrect parsing of string values when followed by a number of spaces.
- CLP-S Slow Search with JSON Objects HOT 2
- sbin/compress.sh with an input list fails.
- compression_scheduler doesn't report failure with partially invalid input paths
- clp-s sometimes fails to search archives containing multiple sub-archives.
- CLP-S: Undefined behavior on file with no read permission HOT 2
- clp: Queries for `*` from the package/webui don't return any results.
- Quoting (") the query in the webui searches *with* the quotes rather than stripping them.
- Timestamp inconsistency before/after compression
- webui: "Invalid Date" shown for both begin and end dates in Ingestion Details panel HOT 1
- webui: Dragging on the timeline is disabled when elements such as text or images are selected.
- webui: Add path from query input to docs describing query syntax.
- webui: CPU usage is high after completing a query
- clp: Infinite loop when compressing zip archive. HOT 1
- clp-s: Implicit wildcard behaviour is unintuitive
- clp-s: Use standard syntax for conditions on values between ()
- clp-s: Support `?` to match single character in searches against variable value columns HOT 2
- CLP-package: search scheduler generating weird error logs
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 clp.