From dev-return-321872-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Thu May 10 16:38:09 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id C90CC18063A for ; Thu, 10 May 2018 16:38:08 +0200 (CEST) Received: (qmail 56177 invoked by uid 500); 10 May 2018 14:38:02 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 56077 invoked by uid 99); 10 May 2018 14:38:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2018 14:38:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 71B6E1806E0 for ; Thu, 10 May 2018 14:38:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id qey4tcYXDIzR for ; Thu, 10 May 2018 14:38:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 7791F5F1B4 for ; Thu, 10 May 2018 14:38:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 14ED6E0F6E for ; Thu, 10 May 2018 14:38:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8083C2154E for ; Thu, 10 May 2018 14:38:00 +0000 (UTC) Date: Thu, 10 May 2018 14:38:00 +0000 (UTC) From: "Christopher Schultz (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-12341) Allow bin/post to include command-line-specified arguments to Java MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-12341?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1647= 0470#comment-16470470 ]=20 Christopher Schultz commented on SOLR-12341: -------------------------------------------- Adding the SOLR_POST_OPTS environment variable to the command line allows a= user to invoke the script in this way: {{=C2=A0=C2=A0 $ SOLR_POST_OPTS=3D"-Djavax.net.ssl.trustStore=3D..." bin/po= st -url https://host:port/solr/core/update [file]}} {{Without this patch, one would have to write one's own data-import tool wh= ich really isn't necessary when `bin/post` is already there.}} > Allow bin/post to include command-line-specified arguments to Java > ------------------------------------------------------------------ > > Key: SOLR-12341 > URL: https://issues.apache.org/jira/browse/SOLR-12341 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public)=20 > Components: scripts and tools > Affects Versions: 7.3 > Reporter: Christopher Schultz > Priority: Major > Labels: patch > Attachments: SOLR-post.patch > > > When using a standalone (non-clustered, non-ZK'd) Solr instance, enabling= TLS was a chore for a few reasons. One of them was that `bin/post` doesn't= provide a way to specify the client's trust store. > This is easy to remedy: add a parameter to the `java` invocation in the s= cript to include options set in the shell. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org