Can you run:

echo "list" | hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 1.1.2.2.6.5.1175-1, r897822d4dd5956ca186974c10382e9094683fa29, Thu
Jun 20 17:08:24 UTC 2019

list
TABLE
enrichment
enrichment_list
metron_update
profiler
threatintel
user_settings
6 row(s) in 0.4130 seconds

["enrichment", "enrichment_list", "metron_update", "profiler",
"threatintel", "user_settings"]

You should see a number of tables as shown above, including enrichment.

On Thu, Nov 7, 2019 at 2:59 AM Gonçalo Pedras <[email protected]> wrote:

> Hi,
>
> Thanks for replying by the way.
>
> Looks like the problem still remains… Further investigation showed that
> the tables were not created in HBase…
>
>
>
> So, this is what I’ve done:
>
> Deleted the Metron service.
>
> Uninstalled the Metron MPack from Ambari.
>
> Re-built the Metron, the MPack and the RPMs (replaced the RPMs in
> repository).
>
> Installed Metron Mpack in Ambari.
>
> Added new Metron service to the Cluster in Ambari.
>
> Configured REST to use MySQL.
>
> Deploy.
>
>
>
> All metron services were installed successfully. Although the Metron
> Enrichment failed to start once again with the same error.
>
> This is the full output you’ve requested:
>
>
>
> Traceback (most recent call last):
>
>   File 
> "/var/lib/ambari-agent/cache/common-services/METRON/0.7.2/package/scripts/enrichment_master.py",
>  line 118, in <module>
>
>     Enrichment().execute()
>
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", 
> line 352, in execute
>
>     method(env)
>
>   File 
> "/var/lib/ambari-agent/cache/common-services/METRON/0.7.2/package/scripts/enrichment_master.py",
>  line 75, in start
>
>     commands.load_enrichment_coprocessor()
>
>   File 
> "/var/lib/ambari-agent/cache/common-services/METRON/0.7.2/package/scripts/enrichment_commands.py",
>  line 235, in load_enrichment_coprocessor
>
>     Execute(command, user=self.__params.metron_user, tries=1, logoutput=True)
>
>   File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 
> 166, in __init__
>
>     self.env.run()
>
>   File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", 
> line 160, in run
>
>     self.run_action(resource, action)
>
>   File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", 
> line 124, in run_action
>
>     provider_action()
>
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", 
> line 263, in action_run
>
>     returns=self.resource.returns)
>
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 
> 72, in inner
>
>     result = function(command, **kwargs)
>
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 
> 102, in checked_call
>
>     tries=tries, try_sleep=try_sleep, 
> timeout_kill_strategy=timeout_kill_strategy, returns=returns)
>
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 
> 150, in _call_wrapper
>
>     result = _call(command, **kwargs_copy)
>
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 
> 314, in _call
>
>     raise ExecutionFailed(err_msg, code, out, err)
>
> resource_management.core.exceptions.ExecutionFailed: Execution of 'echo 
> "disable 'enrichment'" | hbase shell -n' returned 1. SLF4J: Class path 
> contains multiple SLF4J bindings.
>
> SLF4J: Found binding in 
> [jar:file:/usr/hdp/3.1.4.0-315/phoenix/phoenix-5.0.0.3.1.4.0-315-server.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>
> SLF4J: Found binding in 
> [jar:file:/usr/hdp/3.1.4.0-315/hadoop/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
>
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
>
> Took 0.4232 secondsERROR ArgumentError: Table enrichment does not exist.
>
>
>
> NOTE: About the SLF4J I did check the error in the website
> http://www.slf4j.org/codes.html#multiple_bindings and it suggests to
> remove one of the “.jar” files. I don’t think that’s a safe approach, so I
> kept both of them. May it be the problem?
>
>
>
> Thanks
>
>
>
> *De:* Michael Miklavcic <[email protected]>
> *Enviada:* 6 de novembro de 2019 17:47
> *Para:* [email protected]
> *Assunto:* Re: Metron Enrichment Error
>
>
>
> Hrm, I'm not sure how REST and mysql have anything to do with fixing that
> particular issue, but I'm glad you were able to get it working!
>

Reply via email to