Open heiseon opened 4 years ago
You should run initdb command to initialize the database; a catalog file will be created, so you won't get the error anymore.
Something like initdb /omnisci_storage/data
Ottieni Outlook per Androidhttps://aka.ms/ghei36
From: heiseon notifications@github.com Sent: Sunday, July 19, 2020 5:49:47 AM To: omnisci/omniscidb omniscidb@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [omnisci/omniscidb] OmniSci system catalog omnisci_system_catalog does not exist (#568)
I want to build a docker based on RHEL with Dockerfile, and successfully built one image But when I ran this image, I got an error and omnisci didn't not start.
Here is my container logs:
startomnisci 1 running Backend TCP: localhost:6274 Backend HTTP: localhost:6278 Frontend Web: localhost:6273 Calcite TCP: localhost:6279 WARN: config file does not exist, ignoring: --config /omnisci-storage/omnisci.conf
Here is my Dockerfile: Copy and extract OmniSci tarball. In own stage so that the temporary tarball isn't included in a layer.
FROM bluedata/rhel7 AS extract
WORKDIR /omnisci/ COPY omnisci-os-latest-Linux-x86_64-cpu.tar.gz /omnisci/omnisci-latest-Linux-x86_64.tar.gz RUN tar xvf omnisci-latest-Linux-x86_64.tar.gz --strip-components=1 && rm -rf omnisci-latest-Linux-x86_64.tar.gz
Build final stage
FROM centos LABEL maintainer "Andrew Seidl andrew@omnisci.commailto:andrew@omnisci.com"
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility,graphics
RUN yum update -y && yum install -y libldap-2.4-2 bsdmainutils wget curl default-jre-headless
COPY --from=extract /omnisci /omnisci
WORKDIR /omnisci
EXPOSE 6274 6273
CMD /omnisci/startomnisci --non-interactive --data /omnisci-storage/data --config /omnisci-storage/omnisci.conf
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/omnisci/omniscidb/issues/568, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHLFBF33BPH5RGURULVD77TR4JUNXANCNFSM4PAYUURA.
I want to build a docker based on RHEL with Dockerfile, and successfully built one image But when I ran this image, I got an error and omnisci didn't not start.
Here is my container logs:
startomnisci 1 running Backend TCP: localhost:6274 Backend HTTP: localhost:6278 Frontend Web: localhost:6273 Calcite TCP: localhost:6279 WARN: config file does not exist, ignoring: --config /omnisci-storage/omnisci.conf omnisci_server 16 started Can't start: OmniSci system catalog omnisci_system_catalog does not exist. startomnisci 1 exited
Here is my Dockerfile:
FROM bluedata/rhel7 AS extract
WORKDIR /omnisci/ COPY omnisci-os-latest-Linux-x86_64-cpu.tar.gz /omnisci/omnisci-latest-Linux-x86_64.tar.gz RUN tar xvf omnisci-latest-Linux-x86_64.tar.gz --strip-components=1 && \ rm -rf omnisci-latest-Linux-x86_64.tar.gz
FROM centos LABEL maintainer "Andrew Seidl andrew@omnisci.com"
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility,graphics
RUN yum update -y && yum install -y \ libldap-2.4-2 \ bsdmainutils \ wget \ curl \ default-jre-headless
COPY --from=extract /omnisci /omnisci
WORKDIR /omnisci
EXPOSE 6274 6273
CMD /omnisci/startomnisci --non-interactive --data /omnisci-storage/data --config /omnisci-storage/omnisci.conf