Re: Impala build issue

2017-07-14 Thread Tim Armstrong
Hi Sky,
 I'm not sure why that isn't working for you - it seems to work ok for me
on my machine. Maybe a maven expert knows how to change timeouts?

- Tim

On Thu, Jul 13, 2017 at 8:30 PM, sky  wrote:

> Hi all,
> I use this command( ./buildall.sh -fe_only -notests -so) to compile
> impala,in the fe module will be given the error(Connection timed out), But
> on the host using the "telnet" command to connect the
> repository.cloudera.com:443 is success. why?
> The following is a detailed error
> Scanning dependencies of target fe
> 
> Running mvn install -DskipTests
> Directory: /home/dreambase/dreambase_deploy/fe
> 
> [WARNING] Could not transfer metadata 
> com.cloudera.cdh:cdh-root:5.13.0-SNAPSHOT/maven-metadata.xml
> from/to ${distMgmtSnapshotsId} (${distMgmtSnapshotsUrl}): Cannot access
> ${distMgmtSnapshotsUrl} with type default using the available connector
> factories: BasicRepositoryConnectorFactory
>
>
> [WARNING] Could not transfer metadata org.apache.sentry:sentry-bindi
> ng-hive-conf:1.5.1-cdh5.13.0-SNAPSHOT/maven-metadata.xml from/to
> cdh.snapshots.repo (https://repository.cloudera.c
> om/content/repositories/snapshots): Connect to repository.cloudera.com:443
> [repository.cloudera.com/34.197.206.76, repository.cloudera.com/34.201
> .234.30] failed: Connection timed out
> [WARNING] Failure to transfer org.apache.sentry:sentry-bindi
> ng-hive-conf:1.5.1-cdh5.13.0-SNAPSHOT/maven-metadata.xml from
> https://repository.cloudera.com/content/repositories/snapshots was cached
> in the local repository, resolution will not be reattempted until the
> update interval of cdh.snapshots.repo has elapsed or updates are forced.
> Original error: Could not transfer metadata org.apache.sentry:sentry-bindi
> ng-hive-conf:1.5.1-cdh5.13.0-SNAPSHOT/maven-metadata.xml from/to
> cdh.snapshots.repo (https://repository.cloudera.c
> om/content/repositories/snapshots): Connect to repository.cloudera.com:443
> [repository.cloudera.com/34.197.206.76, repository.cloudera.com/34.201
> .234.30] failed: Connection timed out
> [WARNING] Could not transfer metadata org.apache.sentry:sentry-bindi
> ng:1.5.1-cdh5.13.0-SNAPSHOT/maven-metadata.xml from/to
> cdh.rcs.releases.repo (https://repository.cloudera.c
> om/content/groups/cdh-releases-rcs): Connect to
> repository.cloudera.com:443 [repository.cloudera.com/34.201.234.30,
> repository.cloudera.com/34.197.206.76] failed: Connection timed out


Impala build issue

2017-07-13 Thread sky
Hi all,
I use this command( ./buildall.sh -fe_only -notests -so) to compile 
impala,in the fe module will be given the error(Connection timed out), But on 
the host using the "telnet" command to connect the repository.cloudera.com:443 
is success. why?
The following is a detailed error
Scanning dependencies of target fe

Running mvn install -DskipTests
Directory: /home/dreambase/dreambase_deploy/fe

[WARNING] Could not transfer metadata 
com.cloudera.cdh:cdh-root:5.13.0-SNAPSHOT/maven-metadata.xml from/to 
${distMgmtSnapshotsId} (${distMgmtSnapshotsUrl}): Cannot access 
${distMgmtSnapshotsUrl} with type default using the available connector 
factories: BasicRepositoryConnectorFactory


[WARNING] Could not transfer metadata 
org.apache.sentry:sentry-binding-hive-conf:1.5.1-cdh5.13.0-SNAPSHOT/maven-metadata.xml
 from/to cdh.snapshots.repo 
(https://repository.cloudera.com/content/repositories/snapshots): Connect to 
repository.cloudera.com:443 [repository.cloudera.com/34.197.206.76, 
repository.cloudera.com/34.201.234.30] failed: Connection timed out
[WARNING] Failure to transfer 
org.apache.sentry:sentry-binding-hive-conf:1.5.1-cdh5.13.0-SNAPSHOT/maven-metadata.xml
 from https://repository.cloudera.com/content/repositories/snapshots was cached 
in the local repository, resolution will not be reattempted until the update 
interval of cdh.snapshots.repo has elapsed or updates are forced. Original 
error: Could not transfer metadata 
org.apache.sentry:sentry-binding-hive-conf:1.5.1-cdh5.13.0-SNAPSHOT/maven-metadata.xml
 from/to cdh.snapshots.repo 
(https://repository.cloudera.com/content/repositories/snapshots): Connect to 
repository.cloudera.com:443 [repository.cloudera.com/34.197.206.76, 
repository.cloudera.com/34.201.234.30] failed: Connection timed out
[WARNING] Could not transfer metadata 
org.apache.sentry:sentry-binding:1.5.1-cdh5.13.0-SNAPSHOT/maven-metadata.xml 
from/to cdh.rcs.releases.repo 
(https://repository.cloudera.com/content/groups/cdh-releases-rcs): Connect to 
repository.cloudera.com:443 [repository.cloudera.com/34.201.234.30, 
repository.cloudera.com/34.197.206.76] failed: Connection timed out

Re: Impala Build issue

2017-07-10 Thread Jim Apple
For #1, I recommend one of the following:

1. Get access to Oracle JDK7 however you would normally do so (legally, of
course)

2. OR use OpenJDK7

8. OR use JDK8, either Oracle or OpenJDK

On Sun, Jul 9, 2017 at 1:31 PM, Suresh Pujari 
wrote:

> Hi Sir,
>
>I am receiving the below issues.
>
> 1. the JDK path
> "*http://download.oracle.com/otn-pub/java/jdk/7u75-b13/jdk-
> 7u75-linux-x64.tar.g
>  7u75-linux-x64.tar.g>z*"
> in the install.sh is incorrect because of which errors are coming.
>
> sudo ./install
>
> Compiled Resource:
> --
> # Declared in /impala-setup/cookbooks/java/recipes/oracle.rb:53:in
> `from_file'
>
> java_ark("jdk") do
>   action [:install]
>   supports {:report=>true, :exception=>true}
>   retries 0
>   retry_delay 2
>   default_guard_interpreter :default
>   declared_type :java_ark
>   cookbook_name :java
>   recipe_name "oracle"
>   url "
> http://download.oracle.com/otn-pub/java/jdk/7u75-b13/jdk-
> 7u75-linux-x64.tar.gz
> "
>   default true
>   checksum "6f1f81030a34f7a9c987f8b68a24d139"
>   app_home "/usr/lib/jvm/java-7-oracle-amd64"
>   bin_cmds ["appletviewer", "apt", "ControlPanel", "extcheck", "idlj",
> "jar", "jarsigner", "java", "javac", "javadoc", "javafxpackager", "javah",
> "javap", "javaws", "jcmd", "jconsole", "jcontrol", "jdb", "jhat", "jinfo",
> "jmap", "jps", "jrunscript", "jsadebugd", "jstack", "jstat", "jstatd",
> "jvisualvm", "keytool", "native2ascii", "orbd", "pack200", "policytool",
> "rmic", "rmid", "rmiregistry", "schemagen", "serialver", "servertool",
> "tnameserv", "unpack200", "wsgen", "wsimport", "xjc"]
>   alternatives_priority 1062
>   connect_timeout 600
>   owner "root"
> end
>
>
> Running handlers:
> [2017-07-10T00:28:41+04:00] ERROR: Running exception handlers
> Running handlers complete
> [2017-07-10T00:28:41+04:00] ERROR: Exception handlers complete
> [2017-07-10T00:28:41+04:00] FATAL: Stacktrace dumped to
> /mnt/DATA/impala-setup/chef-stacktrace.out
> Chef Client failed. 4 resources updated in 7.840529619 seconds
> [2017-07-10T00:28:41+04:00] ERROR: java_ark[jdk] (java::oracle line 53) had
> an error: SystemExit: exit
> [2017-07-10T00:28:41+04:00] FATAL: Chef::Exceptions::ChildConvergeError:
> Chef run process exited unsuccessfully (exit code 1)
>
> 2. ./bin/bootstrap_build.sh
>
> Linking CXX shared library libgutil.so
> [ 10%] Built target gutil
> make[1]: *** [be/src/service/CMakeFiles/impalad.dir/rule] Error 2
> make: *** [impalad] Error 2
> Error in /impala-2.9.0/bin/make_impala.sh at line 179: ${MAKE_CMD}
> ${MAKE_ARGS} ${MAKE_TARGETS}
>
> Please help.
>
> Regards
> Suresh
>


Impala Build issue

2017-07-10 Thread Suresh Pujari
Hi Sir,

   I am receiving the below issues.

1. the JDK path
"*http://download.oracle.com/otn-pub/java/jdk/7u75-b13/jdk-7u75-linux-x64.tar.g
z*"
in the install.sh is incorrect because of which errors are coming.

sudo ./install

Compiled Resource:
--
# Declared in /impala-setup/cookbooks/java/recipes/oracle.rb:53:in
`from_file'

java_ark("jdk") do
  action [:install]
  supports {:report=>true, :exception=>true}
  retries 0
  retry_delay 2
  default_guard_interpreter :default
  declared_type :java_ark
  cookbook_name :java
  recipe_name "oracle"
  url "
http://download.oracle.com/otn-pub/java/jdk/7u75-b13/jdk-7u75-linux-x64.tar.gz
"
  default true
  checksum "6f1f81030a34f7a9c987f8b68a24d139"
  app_home "/usr/lib/jvm/java-7-oracle-amd64"
  bin_cmds ["appletviewer", "apt", "ControlPanel", "extcheck", "idlj",
"jar", "jarsigner", "java", "javac", "javadoc", "javafxpackager", "javah",
"javap", "javaws", "jcmd", "jconsole", "jcontrol", "jdb", "jhat", "jinfo",
"jmap", "jps", "jrunscript", "jsadebugd", "jstack", "jstat", "jstatd",
"jvisualvm", "keytool", "native2ascii", "orbd", "pack200", "policytool",
"rmic", "rmid", "rmiregistry", "schemagen", "serialver", "servertool",
"tnameserv", "unpack200", "wsgen", "wsimport", "xjc"]
  alternatives_priority 1062
  connect_timeout 600
  owner "root"
end


Running handlers:
[2017-07-10T00:28:41+04:00] ERROR: Running exception handlers
Running handlers complete
[2017-07-10T00:28:41+04:00] ERROR: Exception handlers complete
[2017-07-10T00:28:41+04:00] FATAL: Stacktrace dumped to
/mnt/DATA/impala-setup/chef-stacktrace.out
Chef Client failed. 4 resources updated in 7.840529619 seconds
[2017-07-10T00:28:41+04:00] ERROR: java_ark[jdk] (java::oracle line 53) had
an error: SystemExit: exit
[2017-07-10T00:28:41+04:00] FATAL: Chef::Exceptions::ChildConvergeError:
Chef run process exited unsuccessfully (exit code 1)

2. ./bin/bootstrap_build.sh

Linking CXX shared library libgutil.so
[ 10%] Built target gutil
make[1]: *** [be/src/service/CMakeFiles/impalad.dir/rule] Error 2
make: *** [impalad] Error 2
Error in /impala-2.9.0/bin/make_impala.sh at line 179: ${MAKE_CMD}
${MAKE_ARGS} ${MAKE_TARGETS}

Please help.

Regards
Suresh